|
||||||||||
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.lang.DecodingException
public class DecodingException
Exception related to data decoding from a DOM element.
Constructor Summary | |
---|---|
DecodingException(String message,
Element element)
Create a new decoding exception. |
|
DecodingException(String message,
Throwable cause,
Element element)
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 string 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(String message, Element element)
element
- the element representing the source of the errormessage
- the exception messagepublic DecodingException(String message, Throwable cause, Element element)
element
- the element representing the source of the errormessage
- the exception messagecause
- the causal exceptionMethod Detail |
---|
public Element getElement()
public String getMessage()
getMessage
in class Throwable
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 |