public class DOMException
extends java.lang.RuntimeException
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.Modifier and Type | Field and Description |
---|---|
protected short |
code |
static short |
INVALID_ACCESS_ERR |
static short |
INVALID_CHARACTER_ERR |
static short |
INVALID_MODIFICATION_ERR |
static short |
INVALID_STATE_ERR |
static short |
SYNTAX_ERR |
Constructor and Description |
---|
DOMException(short code,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
short |
getCode()
This method gets the code of this
DOMException . |
public static final short INVALID_ACCESS_ERR
public static final short INVALID_CHARACTER_ERR
public static final short INVALID_MODIFICATION_ERR
public static final short INVALID_STATE_ERR
public static final short SYNTAX_ERR
protected short code