|
||||||||||
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.io.IOException
net.dpml.lang.DecodingException
public class DecodingException
Exception related to data decoding from a DOM element.
Constructor Summary | |
---|---|
DecodingException(java.lang.String message,
org.w3c.dom.Element element)
Create a new decoding exception. |
|
DecodingException(java.lang.String message,
java.lang.Throwable cause,
org.w3c.dom.Element element)
Create a new decoding exception. |
Method Summary | |
---|---|
org.w3c.dom.Element |
getElement()
Get the element that is the subject of this exception. |
java.lang.String |
getMessage()
Return a string representation of the exception. |
static java.lang.String |
list(org.w3c.dom.Element element)
Static utility operation that returns a string representation of a DOM element. |
static java.lang.String |
list(org.w3c.dom.Element element,
java.lang.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(java.lang.String message, org.w3c.dom.Element element)
element
- the element representing the source of the errormessage
- the exception messagepublic DecodingException(java.lang.String message, java.lang.Throwable cause, org.w3c.dom.Element element)
element
- the element representing the source of the errormessage
- the exception messagecause
- the causal exceptionMethod Detail |
---|
public org.w3c.dom.Element getElement()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public static java.lang.String list(org.w3c.dom.Element element)
element
- the element to stringify
public static java.lang.String list(org.w3c.dom.Element element, java.lang.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 |