com.icl.saxon.tree
Class DOMExceptionImpl
DOMException
com.icl.saxon.tree.DOMExceptionImpl
public class DOMExceptionImpl
extends DOMException
DOM operations only raise exceptions in "exceptional" circumstances,
i.e., when an operation is impossible to perform (either for logical
reasons, because data is lost, or because the implementation has become
unstable). In general, DOM methods return specific error values in ordinary
processing situations, such as out-of-bound errors when using
NodeList
.
Implementations may raise other exceptions under other circumstances.
For example, implementations may raise an implementation-dependent
exception if a
null
argument is passed.
See also the
Document Object Model (DOM) Level 2 Specification.
DOMSTRING_SIZE_ERR
public static final short DOMSTRING_SIZE_ERR
- 2
HIERARCHY_REQUEST_ERR
public static final short HIERARCHY_REQUEST_ERR
- 3
INDEX_SIZE_ERR
public static final short INDEX_SIZE_ERR
- 1
INUSE_ATTRIBUTE_ERR
public static final short INUSE_ATTRIBUTE_ERR
- 10
INVALID_ACCESS_ERR
public static final short INVALID_ACCESS_ERR
- 15
- DOM Level 2
INVALID_CHARACTER_ERR
public static final short INVALID_CHARACTER_ERR
- 5
INVALID_MODIFICATION_ERR
public static final short INVALID_MODIFICATION_ERR
- 13
- DOM Level 2
INVALID_STATE_ERR
public static final short INVALID_STATE_ERR
- 11
- DOM Level 2
NAMESPACE_ERR
public static final short NAMESPACE_ERR
- 14
- DOM Level 2
NOT_FOUND_ERR
public static final short NOT_FOUND_ERR
- 8
NOT_SUPPORTED_ERR
public static final short NOT_SUPPORTED_ERR
- 9
NO_DATA_ALLOWED_ERR
public static final short NO_DATA_ALLOWED_ERR
- 6
NO_MODIFICATION_ALLOWED_ERR
public static final short NO_MODIFICATION_ALLOWED_ERR
- 7
SYNTAX_ERR
public static final short SYNTAX_ERR
- 12
- DOM Level 2
WRONG_DOCUMENT_ERR
public static final short WRONG_DOCUMENT_ERR
- 4
DOMExceptionImpl
public DOMExceptionImpl(short code,
String message)