WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

DOMException

This object is available to unprivileged JavaScript. It implements the following interfaces:

Constants

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

Properties

readonly int code

readonly int columnNumber

readonly nsISupports data

readonly char* filename

readonly nsIException inner

readonly int lineNumber

readonly nsIStackFrame location

readonly char* message

readonly char* name

readonly nsresult result


Methods

char* toString ( )

char* toString ( )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com