|
|||||||||||
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.lang.RuntimeException org.apache.commons.jxpath.JXPathException
Thrown in various situations by JXPath; may contain a nested exception.
Field Summary | |
private java.lang.Throwable |
exception
|
Fields inherited from class java.lang.RuntimeException |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
JXPathException()
Create a new JXPathException with no
detail mesage. |
|
JXPathException(java.lang.String msg)
Create a new JXPathException with
the String specified as an error message. |
|
JXPathException(java.lang.String msg,
java.lang.Throwable e)
Create a new JXPathException with the
given Exception base cause and detail message. |
|
JXPathException(java.lang.Throwable e)
Create a new JXPathException with a
given Throwable base cause of the error. |
Method Summary | |
java.lang.Throwable |
getException()
Return the actual exception (if any) that caused this exception to be raised. |
java.lang.String |
getMessage()
Return the message (if any) for this error . |
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 |
Field Detail |
private java.lang.Throwable exception
Constructor Detail |
public JXPathException()
JXPathException
with no
detail mesage.
public JXPathException(java.lang.String msg)
JXPathException
with
the String
specified as an error message.
msg
- The error message for the exception.public JXPathException(java.lang.Throwable e)
JXPathException
with a
given Throwable
base cause of the error.
e
- The exception to be encapsulated in a
JXPathException.public JXPathException(java.lang.String msg, java.lang.Throwable e)
JXPathException
with the
given Exception
base cause and detail message.
e
- The exception to be encapsulated in a
JXPathExceptionmsg
- The detail message.Method Detail |
public java.lang.String getMessage()
public java.lang.Throwable getException()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |