Package net.sf.saxon.dom
Class DOMExceptionImpl
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.w3c.dom.DOMException
-
- net.sf.saxon.dom.DOMExceptionImpl
-
- All Implemented Interfaces:
java.io.Serializable
public class DOMExceptionImpl extends org.w3c.dom.DOMExceptionDOM 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 usingNodeList.Implementations may raise other exceptions under other circumstances. For example, implementations may raise an implementation-dependent exception if a
nullargument is passed.See also the Document Object Model (DOM) Level 2 Specification.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description shortcodestatic shortINVALID_ACCESS_ERRstatic shortINVALID_MODIFICATION_ERRstatic shortINVALID_STATE_ERRstatic shortNAMESPACE_ERRstatic shortSYNTAX_ERR
-
Constructor Summary
Constructors Constructor Description DOMExceptionImpl(short code, java.lang.String message)
-
-
-
Field Detail
-
code
public short code
-
INVALID_STATE_ERR
public static final short INVALID_STATE_ERR
- Since:
- DOM Level 2
- See Also:
- Constant Field Values
-
SYNTAX_ERR
public static final short SYNTAX_ERR
- Since:
- DOM Level 2
- See Also:
- Constant Field Values
-
INVALID_MODIFICATION_ERR
public static final short INVALID_MODIFICATION_ERR
- Since:
- DOM Level 2
- See Also:
- Constant Field Values
-
NAMESPACE_ERR
public static final short NAMESPACE_ERR
- Since:
- DOM Level 2
- See Also:
- Constant Field Values
-
INVALID_ACCESS_ERR
public static final short INVALID_ACCESS_ERR
- Since:
- DOM Level 2
- See Also:
- Constant Field Values
-
-