Package com.google.gwt.xml.client
Class DOMException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.gwt.xml.client.DOMException
- All Implemented Interfaces:
Serializable
Thrown when DOM exceptions occur. Two subclasses exist:
DOMNodeException
and DOMParseException
which
give more detailed information for DOM manipulation errors and parse errors,
respectively. All DOMExceptions
thrown in this package will be
instances of one of those two classes.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected short
static final short
static final short
static final short
static final short
static final short
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshort
getCode()
This method gets the code of thisDOMException
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INVALID_ACCESS_ERR
public static final short INVALID_ACCESS_ERR- See Also:
-
INVALID_CHARACTER_ERR
public static final short INVALID_CHARACTER_ERR- See Also:
-
INVALID_MODIFICATION_ERR
public static final short INVALID_MODIFICATION_ERR- See Also:
-
INVALID_STATE_ERR
public static final short INVALID_STATE_ERR- See Also:
-
SYNTAX_ERR
public static final short SYNTAX_ERR- See Also:
-
code
protected short code
-
-
Constructor Details
-
DOMException
-
-
Method Details
-
getCode
public short getCode()This method gets the code of thisDOMException
.- Returns:
- the code of this
DOMException
-