Java org.w3c.dom DOMException fields, constructors, methods, implement or subclass

Example usage for Java org.w3c.dom DOMException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.w3c.dom DOMException.

The text is from its open source code.

Field

shortINDEX_SIZE_ERR
If index or size is negative, or greater than the allowed value.
shortHIERARCHY_REQUEST_ERR
If any Node is inserted somewhere it doesn't belong.
shortWRONG_DOCUMENT_ERR
If a Node is used in a different document than the one that created it (that doesn't support it).
shortNO_DATA_ALLOWED_ERR
If data is specified for a Node which does not support data.
shortNO_MODIFICATION_ALLOWED_ERR
If an attempt is made to modify an object where modifications are not allowed.
shortNOT_FOUND_ERR
If an attempt is made to reference a Node in a context where it does not exist.
shortNOT_SUPPORTED_ERR
If the implementation does not support the requested type of object or operation.
shortINVALID_STATE_ERR
If an attempt is made to use an object that is not, or is no longer, usable.
shortINVALID_MODIFICATION_ERR
If an attempt is made to modify the type of the underlying object.
shortINVALID_ACCESS_ERR
If a parameter or an operation is not supported by the underlying object.

Constructor

Method

ThrowablegetCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns the detail message string of this throwable.
ThrowableinitCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
voidprintStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.