public class JXPathException extends RuntimeException
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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 .
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 JXPathExceptionpublic String getMessage()
getMessage
in class Throwable
public Throwable getException()
public Throwable getCause()
getException()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.