| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName IDBDatabaseException | |
| 10 interface IDBDatabaseException { | |
| 11 | |
| 12 static final int ABORT_ERR = 20; | |
| 13 | |
| 14 static final int CONSTRAINT_ERR = 4; | |
| 15 | |
| 16 static final int DATA_ERR = 5; | |
| 17 | |
| 18 static final int NON_TRANSIENT_ERR = 2; | |
| 19 | |
| 20 static final int NOT_ALLOWED_ERR = 6; | |
| 21 | |
| 22 static final int NOT_FOUND_ERR = 8; | |
| 23 | |
| 24 static final int NO_ERR = 0; | |
| 25 | |
| 26 static final int QUOTA_ERR = 22; | |
| 27 | |
| 28 static final int READ_ONLY_ERR = 9; | |
| 29 | |
| 30 static final int TIMEOUT_ERR = 23; | |
| 31 | |
| 32 static final int TRANSACTION_INACTIVE_ERR = 7; | |
| 33 | |
| 34 static final int UNKNOWN_ERR = 1; | |
| 35 | |
| 36 static final int VER_ERR = 12; | |
| 37 | |
| 38 /** @domName IDBDatabaseException.code */ | |
| 39 final int code; | |
| 40 | |
| 41 /** @domName IDBDatabaseException.message */ | |
| 42 final String message; | |
| 43 | |
| 44 /** @domName IDBDatabaseException.name */ | |
| 45 final String name; | |
| 46 | |
| 47 /** @domName IDBDatabaseException.toString */ | |
| 48 String toString(); | |
| 49 } | |
| OLD | NEW |