OLD | NEW |
1 | 1 |
2 class _FileExceptionJs extends _DOMTypeJs implements FileException native "*File
Exception" { | 2 class _FileExceptionJs extends _DOMTypeJs implements FileException native "*File
Exception" { |
3 | 3 |
4 static final int ABORT_ERR = 3; | 4 static final int ABORT_ERR = 3; |
5 | 5 |
6 static final int ENCODING_ERR = 5; | 6 static final int ENCODING_ERR = 5; |
7 | 7 |
8 static final int INVALID_MODIFICATION_ERR = 9; | 8 static final int INVALID_MODIFICATION_ERR = 9; |
9 | 9 |
10 static final int INVALID_STATE_ERR = 7; | 10 static final int INVALID_STATE_ERR = 7; |
11 | 11 |
12 static final int NOT_FOUND_ERR = 1; | 12 static final int NOT_FOUND_ERR = 1; |
13 | 13 |
14 static final int NOT_READABLE_ERR = 4; | 14 static final int NOT_READABLE_ERR = 4; |
15 | 15 |
16 static final int NO_MODIFICATION_ALLOWED_ERR = 6; | 16 static final int NO_MODIFICATION_ALLOWED_ERR = 6; |
17 | 17 |
18 static final int PATH_EXISTS_ERR = 12; | 18 static final int PATH_EXISTS_ERR = 12; |
19 | 19 |
20 static final int QUOTA_EXCEEDED_ERR = 10; | 20 static final int QUOTA_EXCEEDED_ERR = 10; |
21 | 21 |
22 static final int SECURITY_ERR = 2; | 22 static final int SECURITY_ERR = 2; |
23 | 23 |
24 static final int SYNTAX_ERR = 8; | 24 static final int SYNTAX_ERR = 8; |
25 | 25 |
26 static final int TYPE_MISMATCH_ERR = 11; | 26 static final int TYPE_MISMATCH_ERR = 11; |
27 | 27 |
28 int get code() native "return this.code;"; | 28 final int code; |
29 | 29 |
30 String get message() native "return this.message;"; | 30 final String message; |
31 | 31 |
32 String get name() native "return this.name;"; | 32 final String name; |
33 | 33 |
34 String toString() native; | 34 String toString() native; |
35 } | 35 } |
OLD | NEW |