Example usage for Java org.w3c.dom DOMException fields, constructors, methods, implement or subclass
The text is from its open source code.
short | INDEX_SIZE_ERR If index or size is negative, or greater than the allowed value. |
short | HIERARCHY_REQUEST_ERR If any Node is inserted somewhere it doesn't belong. |
short | WRONG_DOCUMENT_ERR If a Node is used in a different document than the one that created it (that doesn't support it). |
short | NO_DATA_ALLOWED_ERR If data is specified for a Node which does not support data. |
short | NO_MODIFICATION_ALLOWED_ERR If an attempt is made to modify an object where modifications are not allowed. |
short | NOT_FOUND_ERR If an attempt is made to reference a Node in a context where it does not exist. |
short | NOT_SUPPORTED_ERR If the implementation does not support the requested type of object or operation. |
short | INVALID_STATE_ERR If an attempt is made to use an object that is not, or is no longer, usable. |
short | INVALID_MODIFICATION_ERR If an attempt is made to modify the type of the underlying object. |
short | INVALID_ACCESS_ERR If a parameter or an operation is not supported by the underlying object. |
Throwable | getCause() Returns the cause of this throwable or null if the cause is nonexistent or unknown. |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Returns the detail message string of this throwable. |
Throwable | initCause(Throwable cause) Initializes the cause of this throwable to the specified value. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
void | printStackTrace(PrintStream s) Prints this throwable and its backtrace to the specified print stream. |