nsIDOMDOMException

IID:a6cf910a-15b3-11d2-932e-00805f8add32
Inherits From:nsISupports
Status:FROZEN

In general, DOM methods return specific error values in ordinary processing situations, such as out-of-bound errors. However, DOM operations can raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable)

For more information on this interface please see http://www.w3.org/TR/DOM-Level-3-Core/


Constants

PRUint16 INDEX_SIZE_ERR = 1
PRUint16 DOMSTRING_SIZE_ERR = 2
PRUint16 HIERARCHY_REQUEST_ERR = 3
PRUint16 WRONG_DOCUMENT_ERR = 4
PRUint16 INVALID_CHARACTER_ERR = 5
PRUint16 NO_DATA_ALLOWED_ERR = 6
PRUint16 NO_MODIFICATION_ALLOWED_ERR = 7
PRUint16 NOT_FOUND_ERR = 8
PRUint16 NOT_SUPPORTED_ERR = 9
PRUint16 INUSE_ATTRIBUTE_ERR = 10
PRUint16 INVALID_STATE_ERR = 11
PRUint16 SYNTAX_ERR = 12
PRUint16 INVALID_MODIFICATION_ERR = 13
PRUint16 NAMESPACE_ERR = 14
PRUint16 INVALID_ACCESS_ERR = 15
PRUint16 VALIDATION_ERR = 16
PRUint16 TYPE_MISMATCH_ERR = 17

Properties

readonly PRUint32 code

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com