|
||||||||||
| 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(String msg)
Create a new JXPathException with
the String specified as an error message. |
|
JXPathException(String msg,
Throwable e)
Create a new JXPathException with the
given Exception base cause and detail message. |
|
JXPathException(Throwable e)
Create a new JXPathException with a
given Throwable base cause of the error. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Same as getException() |
Throwable |
getException()
Return the actual exception (if any) that caused this exception to be raised. |
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(String msg)
JXPathException with
the String specified as an error message.
msg - The error message for the exception.public JXPathException(Throwable e)
JXPathException with a
given Throwable base cause of the error.
e - The exception to be encapsulated in a
JXPathException.
public JXPathException(String msg,
Throwable e)
JXPathException with the
given Exception base cause and detail message.
msg - The detail message.e - The exception to be encapsulated in a JXPathException| Method Detail |
|---|
public String getMessage()
getMessage in class Throwablepublic Throwable getException()
public Throwable getCause()
getException()
getCause in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||