OLD | NEW |
1 | 1 |
2 class IDBDatabaseException native "*IDBDatabaseException" { | 2 class IDBDatabaseException native "*IDBDatabaseException" { |
3 | 3 |
4 static final int ABORT_ERR = 8; | 4 static final int ABORT_ERR = 8; |
5 | 5 |
6 static final int CONSTRAINT_ERR = 4; | 6 static final int CONSTRAINT_ERR = 4; |
7 | 7 |
8 static final int DATA_ERR = 5; | 8 static final int DATA_ERR = 5; |
9 | 9 |
10 static final int NON_TRANSIENT_ERR = 2; | 10 static final int NON_TRANSIENT_ERR = 2; |
11 | 11 |
12 static final int NOT_ALLOWED_ERR = 6; | 12 static final int NOT_ALLOWED_ERR = 6; |
13 | 13 |
14 static final int NOT_FOUND_ERR = 3; | 14 static final int NOT_FOUND_ERR = 3; |
15 | 15 |
16 static final int NO_ERR = 0; | 16 static final int NO_ERR = 0; |
17 | 17 |
18 static final int QUOTA_ERR = 11; | 18 static final int QUOTA_ERR = 11; |
19 | 19 |
20 static final int READ_ONLY_ERR = 9; | 20 static final int READ_ONLY_ERR = 9; |
21 | 21 |
22 static final int TIMEOUT_ERR = 10; | 22 static final int TIMEOUT_ERR = 10; |
23 | 23 |
24 static final int TRANSACTION_INACTIVE_ERR = 7; | 24 static final int TRANSACTION_INACTIVE_ERR = 7; |
25 | 25 |
26 static final int UNKNOWN_ERR = 1; | 26 static final int UNKNOWN_ERR = 1; |
27 | 27 |
28 static final int VER_ERR = 12; | 28 static final int VER_ERR = 12; |
29 | 29 |
30 int code; | 30 int get code() native "return this.code;"; |
31 | 31 |
32 String message; | 32 String get message() native "return this.message;"; |
33 | 33 |
34 String name; | 34 String get name() native "return this.name;"; |
35 | 35 |
36 String toString() native; | 36 String toString() native; |
37 | 37 |
38 var dartObjectLocalStorage; | 38 var dartObjectLocalStorage; |
39 | 39 |
40 String get typeName() native; | 40 String get typeName() native; |
41 } | 41 } |
OLD | NEW |