Xerces 2.0.0.alpha

org.apache.xerces.dom
Class DOMExceptionImpl

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.w3c.dom.DOMException
                          |
                          +--org.apache.xerces.dom.DOMExceptionImpl
All Implemented Interfaces:
java.io.Serializable

public class DOMExceptionImpl
extends DOMException

DOMExceptions are thrown when one of the DOM implementation classes discovers an error condition. The architecture is defined in terms of the ExceptionCode, but in the standard Java API this has been extended so the exception may also carry a text string. Standard exception codes are:

Since:
PR-DOM-Level-1-19980818.
Version:
 
See Also:
Serialized Form

Field Summary
static short UNSPECIFIED_EVENT_TYPE
           
static short UNSUPPORTED_EVENT_TYPE
           
 
Fields inherited from class org.w3c.dom.DOMException
code, DOMSTRING_SIZE_ERR, HIERARCHY_REQUEST_ERR, INDEX_SIZE_ERR, INUSE_ATTRIBUTE_ERR, INVALID_ACCESS_ERR, INVALID_CHARACTER_ERR, INVALID_MODIFICATION_ERR, INVALID_STATE_ERR, NAMESPACE_ERR, NO_DATA_ALLOWED_ERR, NO_MODIFICATION_ALLOWED_ERR, NOT_FOUND_ERR, NOT_SUPPORTED_ERR, SYNTAX_ERR, WRONG_DOCUMENT_ERR
 
Constructor Summary
DOMExceptionImpl(short code, java.lang.String message)
          Constructs a dom exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSPECIFIED_EVENT_TYPE

public static final short UNSPECIFIED_EVENT_TYPE

UNSUPPORTED_EVENT_TYPE

public static final short UNSUPPORTED_EVENT_TYPE
Constructor Detail

DOMExceptionImpl

public DOMExceptionImpl(short code,
                        java.lang.String message)
Constructs a dom exception.

Xerces 2.0.0.alpha