Known Direct Subclasses
|
Class Overview
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.
Summary
Fields |
protected
short |
code |
|
Public Methods |
short
|
getCode()
This method gets the code of this DOMException .
|
Constants
public
static
final
short
INVALID_ACCESS_ERR
Constant Value:
15
(0x0000000f)
public
static
final
short
INVALID_CHARACTER_ERR
Constant Value:
5
(0x00000005)
public
static
final
short
INVALID_MODIFICATION_ERR
Constant Value:
13
(0x0000000d)
public
static
final
short
INVALID_STATE_ERR
Constant Value:
11
(0x0000000b)
public
static
final
short
SYNTAX_ERR
Constant Value:
12
(0x0000000c)
Fields
Public Constructors
public
DOMException
(short code, String message)
Public Methods
public
short
getCode
()
This method gets the code of this DOMException
.
Returns
- the code of this
DOMException