|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.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.
Constructor Summary | |
DomEx(short code)
Constructs an exception, with the diagnostic message corresponding to the specified code. |
|
DomEx(short code,
java.lang.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 | |
java.lang.String |
getData()
Returns data to which the diagnotic applies, or null. |
java.lang.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, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, 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, java.lang.String data, Node node, int value)
Method Detail |
public final Node getNode()
public final java.lang.String getData()
public final int getValue()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
Source code is GPL'd in the JAXP subproject at http://savannah.gnu.org/projects/classpathx |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |