|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.w3c.dom.DOMException
gnu.xml.dom.DomEx
DOMException implementation. The version that is provided by the W3C is abstract, so it can't be instantiated.
This also provides a bit more information about the error that is being reported, in terms of the relevant DOM structures and data.
Field Summary |
Constructor Summary | |
DomEx(short code)
Constructs an exception, with the diagnostic message corresponding to the specified code. |
|
DomEx(short code,
String data,
Node node,
int value)
Constructs an exception, with the diagnostic message corresponding to the specified code and additional information as provided. |
Method Summary | |
String |
getData()
Returns data to which the diagnotic applies, or null. |
String |
getMessage()
Returns a diagnostic message that may be slightly more useful than the generic one, where possible. |
Node |
getNode()
Returns the node to which the diagnotic applies, or null. |
int |
getValue()
Returns data to which the diagnotic applies, or null. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DomEx(short code)
public DomEx(short code, String data, Node node, int value)
Method Detail |
public final Node getNode()
public final String getData()
public final int getValue()
public String getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2004-08-21.