domexception (JavaScript 1.0)

Interface defining error codes for DOM-related processing exceptions.

Properties & Events

KeyDescriptionAvailability
codeCode corresponding to the type of DOMException thrown.
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
domstring_size_errCode used when the specified range of text cannot fit into a String.
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
hierarchy_request_errCode used when a node is inserted where it doesn't belong
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
index_size_errThrown if the index or size is either negative or greater than the allowed value.
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
inuse_attribute_errCode used when an added attribute that already exists elsewhere
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
invalid_access_errCode used when an operation is not supported by an object
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
invalid_character_errCode used when an illegal character is used
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
invalid_modification_errCode used when an attempt is made to change the type of an object
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
invalid_state_errCode used when an object is used that no longer exists
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
namespace_errCode used when a change is made that is invalid in relation to namespaces
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
no_data_allowed_errCode used when data is supplied to a node that does not support it
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
no_modification_allowed_errCode used when modifications are made to an object where modifications are not permitted
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
not_found_errCode used when a node is referenced that does not exist in the current context
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
not_supported_errCode used when the implementation does not support the requested type or object
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
syntax_errCode used when an invalid string is specified
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0
wrong_document_errCode used when the node being specified does not exist in the current document
chrome 1.0safari 1.0Firefox 1.0ie 6.0opera 7.0

Example
No example available.

Examples having uses of: 'domexception'