| 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 DOMException | |
| 10 interface DOMException { | |
| 11 | |
| 12 static final int ABORT_ERR = 20; | |
| 13 | |
| 14 static final int DATA_CLONE_ERR = 25; | |
| 15 | |
| 16 static final int DOMSTRING_SIZE_ERR = 2; | |
| 17 | |
| 18 static final int HIERARCHY_REQUEST_ERR = 3; | |
| 19 | |
| 20 static final int INDEX_SIZE_ERR = 1; | |
| 21 | |
| 22 static final int INUSE_ATTRIBUTE_ERR = 10; | |
| 23 | |
| 24 static final int INVALID_ACCESS_ERR = 15; | |
| 25 | |
| 26 static final int INVALID_CHARACTER_ERR = 5; | |
| 27 | |
| 28 static final int INVALID_MODIFICATION_ERR = 13; | |
| 29 | |
| 30 static final int INVALID_NODE_TYPE_ERR = 24; | |
| 31 | |
| 32 static final int INVALID_STATE_ERR = 11; | |
| 33 | |
| 34 static final int NAMESPACE_ERR = 14; | |
| 35 | |
| 36 static final int NETWORK_ERR = 19; | |
| 37 | |
| 38 static final int NOT_FOUND_ERR = 8; | |
| 39 | |
| 40 static final int NOT_SUPPORTED_ERR = 9; | |
| 41 | |
| 42 static final int NO_DATA_ALLOWED_ERR = 6; | |
| 43 | |
| 44 static final int NO_MODIFICATION_ALLOWED_ERR = 7; | |
| 45 | |
| 46 static final int QUOTA_EXCEEDED_ERR = 22; | |
| 47 | |
| 48 static final int SECURITY_ERR = 18; | |
| 49 | |
| 50 static final int SYNTAX_ERR = 12; | |
| 51 | |
| 52 static final int TIMEOUT_ERR = 23; | |
| 53 | |
| 54 static final int TYPE_MISMATCH_ERR = 17; | |
| 55 | |
| 56 static final int URL_MISMATCH_ERR = 21; | |
| 57 | |
| 58 static final int VALIDATION_ERR = 16; | |
| 59 | |
| 60 static final int WRONG_DOCUMENT_ERR = 4; | |
| 61 | |
| 62 /** @domName DOMException.code */ | |
| 63 final int code; | |
| 64 | |
| 65 /** @domName DOMException.message */ | |
| 66 final String message; | |
| 67 | |
| 68 /** @domName DOMException.name */ | |
| 69 final String name; | |
| 70 | |
| 71 /** @domName DOMException.toString */ | |
| 72 String toString(); | |
| 73 } | |
| OLD | NEW |