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 SummaryFieldsModifier and TypeFieldDescriptionprotected shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final short
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionshortgetCode()This method gets the code of thisDOMException.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Field Details- 
INVALID_ACCESS_ERRpublic static final short INVALID_ACCESS_ERR- See Also:
 
- 
INVALID_CHARACTER_ERRpublic static final short INVALID_CHARACTER_ERR- See Also:
 
- 
INVALID_MODIFICATION_ERRpublic static final short INVALID_MODIFICATION_ERR- See Also:
 
- 
INVALID_STATE_ERRpublic static final short INVALID_STATE_ERR- See Also:
 
- 
SYNTAX_ERRpublic static final short SYNTAX_ERR- See Also:
 
- 
codeprotected short code
 
- 
- 
Constructor Details- 
DOMException
 
- 
- 
Method Details- 
getCodepublic short getCode()This method gets the code of thisDOMException.- Returns:
- the code of this DOMException
 
 
-