|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException net.dpml.util.DecodingException
Exception related to data decoding from a DOM element.
Constructor Summary | |
DecodingException(Element element,
String message)
Create a new decoding exception. |
|
DecodingException(Element element,
String message,
Throwable cause)
Create a new decoding exception. |
Method Summary | |
Element |
getElement()
Get the element that is the subject of this exception. |
String |
getMessage()
Return a string representation of the exception. |
static String |
list(Element element)
Static utility operation that returns a syring representation of a DOM element. |
static String |
list(Element element,
String pad)
Static utility operation that returns a syring representation of a DOM element. |
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 DecodingException(Element element, String message)
element
- the element representing the source of the errormessage
- the exception messagepublic DecodingException(Element element, String message, Throwable cause)
element
- the element representing the source of the errormessage
- the exception messagecause
- the causal exceptionMethod Detail |
public Element getElement()
public String getMessage()
public static String list(Element element)
element
- the element to stringify
public static String list(Element element, String pad)
element
- the element to stringifypad
- padding offset
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |