A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.
To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).
Exception Codes: Difference between revisions
Jump to navigation
Jump to search
m (→DOMException) |
(Web DOM Core) |
||
Line 3: | Line 3: | ||
The exceptions in this category are all bound to the DOMException or LSException interfaces. | The exceptions in this category are all bound to the DOMException or LSException interfaces. | ||
;[http:// | ;[http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#exception-domexception Web DOM Core] | ||
: 1 INDEX_SIZE_ERR | : 1 INDEX_SIZE_ERR | ||
: 2 DOMSTRING_SIZE_ERR | : 2 DOMSTRING_SIZE_ERR | ||
Line 21: | Line 21: | ||
: 16 VALIDATION_ERR | : 16 VALIDATION_ERR | ||
: 17 TYPE_MISMATCH_ERR | : 17 TYPE_MISMATCH_ERR | ||
: 18 SECURITY_ERR | |||
: 18 SECURITY_ERR | |||
: 19 NETWORK_ERR | : 19 NETWORK_ERR | ||
: 20 ABORT_ERR | : 20 ABORT_ERR | ||
: 21 URL_MISMATCH_ERR | |||
: 21 URL_MISMATCH_ERR | |||
: 22 QUOTA_EXCEEDED_ERR | : 22 QUOTA_EXCEEDED_ERR | ||
: 23 TIMEOUT-ERR | : 23 TIMEOUT-ERR | ||
: 24 NOT_READABLE_ERR | : 24 NOT_READABLE_ERR | ||
: 25 DATA_CLONE_ERR | : 25 DATA_CLONE_ERR | ||
: 26 ENCODING_ERR | : 26 ENCODING_ERR | ||
<!--v2DATAGRID: 27 DATAGRID_MODEL_ERR--> | <!--v2DATAGRID: 27 DATAGRID_MODEL_ERR--> | ||
Line 45: | Line 39: | ||
DOM3 Events defines exceptions 0 and 1: http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-EventException | DOM3 Events defines exceptions 0 and 1: http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-EventException | ||
== | == RangeException == | ||
DOM Range defines exceptions 1 and 2: http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html#RangeException |
Revision as of 12:43, 9 October 2010
DOMException
The exceptions in this category are all bound to the DOMException or LSException interfaces.
- Web DOM Core
- 1 INDEX_SIZE_ERR
- 2 DOMSTRING_SIZE_ERR
- 3 HIERARCHY_REQUEST_ERR
- 4 WRONG_DOCUMENT_ERR
- 5 INVALID_CHARACTER_ERR
- 6 NO_DATA_ALLOWED_ERR
- 7 NO_MODIFICATION_ALLOWED_ERR
- 8 NOT_FOUND_ERR
- 9 NOT_SUPPORTED_ERR
- 10 INUSE_ATTRIBUTE_ERR
- 11 INVALID_STATE_ERR
- 12 SYNTAX_ERR
- 13 INVALID_MODIFICATION_ERR
- 14 NAMESPACE_ERR
- 15 INVALID_ACCESS_ERR
- 16 VALIDATION_ERR
- 17 TYPE_MISMATCH_ERR
- 18 SECURITY_ERR
- 19 NETWORK_ERR
- 20 ABORT_ERR
- 21 URL_MISMATCH_ERR
- 22 QUOTA_EXCEEDED_ERR
- 23 TIMEOUT-ERR
- 24 NOT_READABLE_ERR
- 25 DATA_CLONE_ERR
- 26 ENCODING_ERR
- DOM3LS (should be obsolete; do not implement)
- 81 PARSE_ERR
- 82 SERIALISE_ERR
EventException
DOM3 Events defines exceptions 0 and 1: http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-EventException
RangeException
DOM Range defines exceptions 1 and 2: http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html#RangeException