OLD | NEW |
1 | 1 |
2 class _SQLErrorJs extends _DOMTypeJs implements SQLError native "*SQLError" { | 2 class _SQLErrorJs extends _DOMTypeJs implements SQLError native "*SQLError" { |
3 | 3 |
4 static final int CONSTRAINT_ERR = 6; | 4 static final int CONSTRAINT_ERR = 6; |
5 | 5 |
6 static final int DATABASE_ERR = 1; | 6 static final int DATABASE_ERR = 1; |
7 | 7 |
8 static final int QUOTA_ERR = 4; | 8 static final int QUOTA_ERR = 4; |
9 | 9 |
10 static final int SYNTAX_ERR = 5; | 10 static final int SYNTAX_ERR = 5; |
11 | 11 |
12 static final int TIMEOUT_ERR = 7; | 12 static final int TIMEOUT_ERR = 7; |
13 | 13 |
14 static final int TOO_LARGE_ERR = 3; | 14 static final int TOO_LARGE_ERR = 3; |
15 | 15 |
16 static final int UNKNOWN_ERR = 0; | 16 static final int UNKNOWN_ERR = 0; |
17 | 17 |
18 static final int VERSION_ERR = 2; | 18 static final int VERSION_ERR = 2; |
19 | 19 |
20 int get code() native "return this.code;"; | 20 final int code; |
21 | 21 |
22 String get message() native "return this.message;"; | 22 final String message; |
23 } | 23 } |
OLD | NEW |