public class JXPathException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
exception |
private static long |
serialVersionUID |
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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 .
|
private static final long serialVersionUID
private java.lang.Throwable exception
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 JXPathExceptionpublic 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