Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
RuntimeException
org.w3c.dom.DOMException
gnu.xml.dom.DomEx
public class DomEx
extends DOMException
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 | |
| |
Method Summary | |
String |
|
String |
|
Node |
|
int |
|
public DomEx(short code)
Constructs an exception, with the diagnostic message corresponding to the specified code.
public 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.
public final String getData()
Returns data to which the diagnotic applies, or null.
public String getMessage()
Returns a diagnostic message that may be slightly more useful than the generic one, where possible.
public final int getValue()
Returns data to which the diagnotic applies, or null.