|
|||||||||||
| 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.lang.RuntimeException
junit.extensions.xml.XMLException
This exception is thrown when the XML cannot be parsed properly.
| Field Summary | |
private java.lang.Throwable |
m_cause
Exception which caused the error. |
private org.w3c.dom.Element |
m_element
Element which could not be processed. |
private XMLObjectCache |
m_properties
Properties which may have been passed to the element which could not be processed. |
| Fields inherited from class java.lang.RuntimeException |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
XMLException(java.lang.String msg)
Constructor accepting a String message. |
|
XMLException(java.lang.String msg,
org.w3c.dom.Element e)
Constructor accepting a String message. |
|
XMLException(java.lang.String msg,
java.lang.Throwable cause,
org.w3c.dom.Element element,
XMLObjectCache properties)
Constructor accepting a String message. |
|
| Method Summary | |
org.w3c.dom.Element |
getElement()
Get the element which through the exception. |
java.lang.String |
toString()
Add context from the element. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private org.w3c.dom.Element m_element
private java.lang.Throwable m_cause
private XMLObjectCache m_properties
| Constructor Detail |
public XMLException(java.lang.String msg)
msg - Message of the exception.Throwable.Throwable(String)
public XMLException(java.lang.String msg,
org.w3c.dom.Element e)
msg - Message of the exception.e - Element which throw the exception.Throwable.Throwable(String)
public XMLException(java.lang.String msg,
java.lang.Throwable cause,
org.w3c.dom.Element element,
XMLObjectCache properties)
msg - Message of the exception.cause - Exception or error which caused this exception
to be thrown.element - Element which throw the exception.properties - Properties cache containing the values
which were passed to the tag handler.Throwable.Throwable(String)| Method Detail |
public org.w3c.dom.Element getElement()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||