weblogic.apache.xerces.domx
Class DOMException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.w3c.dom.DOMException
|
+--weblogic.apache.xerces.domx.DOMException
- Direct Known Subclasses:
- DOMExceptionImpl
- public abstract class DOMException
- extends org.w3c.dom.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 situation, 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.
Some languages and object systems do not support the concept of
exceptions. For such systems, error conditions may be indicated using
native error reporting mechanisms. For some bindings, for example, methods
may return error codes similar to those listed in the corresponding method
descriptions.
This class is based on an implementation from the Apache XML
Project. In future releases the XML parser, XSLT processor, and
associated classes will likely be updated to be based on a later
version of the Apache implementations. Since Apache does not guarantee
backwards compatibility between versions of their software, we cannot
guarantee backwards compatibility of any of the classes contained in
the weblogic.apache package or sub-packages.
- Author:
- Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
- See Also:
- Serialized Form
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
|
DOMException(short code,
java.lang.String message)
|
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 |
UNSPECIFIED_EVENT_TYPE
public static final short UNSPECIFIED_EVENT_TYPE
UNSUPPORTED_EVENT_TYPE
public static final short UNSUPPORTED_EVENT_TYPE
DOMException
public DOMException(short code,
java.lang.String message)