|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--org.w3c.dom.DOMException | +--org.ozoneDB.xml.dom.DOMExceptionImpl
Implements 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 FormField Summary | |
static short |
PDOM_ERR
|
Fields inherited from class org.w3c.dom.DOMException |
code, 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, WRONG_DOCUMENT_ERR |
Constructor Summary | |
DOMExceptionImpl(short code)
Create new DOMException with specified code. |
|
DOMExceptionImpl(short code,
java.lang.String message)
Create new DOMException with specified code and message. |
Method Summary | |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final short PDOM_ERR
Constructor Detail |
public DOMExceptionImpl(short code)
DOMException
with specified code.
Message will contain textual description of code.
code
- DOMException
error codepublic DOMExceptionImpl(short code, java.lang.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 textMethod Detail |
public java.lang.String toString()
toString
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |