|
||||||||||
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
org.apache.commons.jxpath.JXPathException
public class JXPathException
Thrown in various situations by JXPath; may contain a nested exception.
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 |
getCause()
Same as getException() |
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, 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 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.
msg
- The detail message.e
- The exception to be encapsulated in a JXPathExceptionMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.Throwable getException()
public java.lang.Throwable getCause()
getException()
getCause
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |