| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface IDBDatabaseException { | 7 interface IDBDatabaseException { |
| 8 | 8 |
| 9 static final int ABORT_ERR = 13; | 9 static final int ABORT_ERR = 8; |
| 10 | 10 |
| 11 static final int CONSTRAINT_ERR = 4; | 11 static final int CONSTRAINT_ERR = 4; |
| 12 | 12 |
| 13 static final int DATA_ERR = 5; | 13 static final int DATA_ERR = 5; |
| 14 | 14 |
| 15 static final int DEADLOCK_ERR = 11; | |
| 16 | |
| 17 static final int NON_TRANSIENT_ERR = 2; | 15 static final int NON_TRANSIENT_ERR = 2; |
| 18 | 16 |
| 19 static final int NOT_ALLOWED_ERR = 6; | 17 static final int NOT_ALLOWED_ERR = 6; |
| 20 | 18 |
| 21 static final int NOT_FOUND_ERR = 3; | 19 static final int NOT_FOUND_ERR = 3; |
| 22 | 20 |
| 23 static final int NO_ERR = 0; | 21 static final int NO_ERR = 0; |
| 24 | 22 |
| 25 static final int READ_ONLY_ERR = 12; | 23 static final int QUOTA_ERR = 11; |
| 26 | 24 |
| 27 static final int RECOVERABLE_ERR = 8; | 25 static final int READ_ONLY_ERR = 9; |
| 28 | |
| 29 static final int SERIAL_ERR = 7; | |
| 30 | 26 |
| 31 static final int TIMEOUT_ERR = 10; | 27 static final int TIMEOUT_ERR = 10; |
| 32 | 28 |
| 33 static final int TRANSIENT_ERR = 9; | 29 static final int TRANSACTION_INACTIVE_ERR = 7; |
| 34 | 30 |
| 35 static final int UNKNOWN_ERR = 1; | 31 static final int UNKNOWN_ERR = 1; |
| 36 | 32 |
| 33 static final int VER_ERR = 12; |
| 34 |
| 37 int get code(); | 35 int get code(); |
| 38 | 36 |
| 39 String get message(); | 37 String get message(); |
| 40 | 38 |
| 41 String get name(); | 39 String get name(); |
| 42 | 40 |
| 43 String toString(); | 41 String toString(); |
| 44 } | 42 } |
| OLD | NEW |