public final class DOMExceptionImpl extends DOMException
DOMException for throwing a RuntimeException. Message specified as one of several predefined
error codes plus an optional description string. Throwable.getMessage() returns
textual description of error code.
See DOMException for list of supported error codes.
DOMException,
Serialized Formcode, DOMSTRING_SIZE_ERR, HIERARCHY_REQUEST_ERR, INDEX_SIZE_ERR, INUSE_ATTRIBUTE_ERR, INVALID_ACCESS_ERR, INVALID_CHARACTER_ERR, INVALID_MODIFICATION_ERR, INVALID_STATE_ERR, NAMESPACE_ERR, NO_DATA_ALLOWED_ERR, NO_MODIFICATION_ALLOWED_ERR, NOT_FOUND_ERR, NOT_SUPPORTED_ERR, SYNTAX_ERR, TYPE_MISMATCH_ERR, VALIDATION_ERR, WRONG_DOCUMENT_ERR| Constructor and Description |
|---|
DOMExceptionImpl(short code)
Create new
DOMException with specified code. |
DOMExceptionImpl(short code,
String message)
Create new
DOMException with specified code and
message. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic DOMExceptionImpl(short code)
DOMException with specified code.
Message will contain textual description of code.code - DOMException error codepublic DOMExceptionImpl(short code,
String message)
DOMException with specified code and
message. Message will contain textual description of code and optional
message text.code - DOMException error codemessage - Optional message textPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.