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.domx.DOMException
                                |
                                +--org.apache.xerces.dom.DOMExceptionImpl

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

Fields inherited from class org.apache.xerces.domx.DOMException
UNSPECIFIED_EVENT_TYPE, 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
 

Constructor Detail

DOMExceptionImpl

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


Copyright © 1999 Apache XML Project. All Rights Reserved.