Package org.apache.commons.jxpath
Class JXPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.jxpath.JXPathException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JXPathAbstractFactoryException
,JXPathFunctionNotFoundException
,JXPathInvalidAccessException
,JXPathInvalidSyntaxException
,JXPathNotFoundException
,JXPathTypeConversionException
Thrown in various situations by JXPath; may contain a nested exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newJXPathException
with no detail mesage.JXPathException
(String msg) Constructs a newJXPathException
with theString
specified as an error message.JXPathException
(String msg, Throwable cause) Constructs a newJXPathException
with the givenException
base cause and detail message.JXPathException
(Throwable cause) Constructs a newJXPathException
with a givenThrowable
base cause of the error. -
Method Summary
Modifier and TypeMethodDescriptionGets the actual exception (if any) that caused this exception to be raised.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JXPathException
public JXPathException()Constructs a newJXPathException
with no detail mesage. -
JXPathException
Constructs a newJXPathException
with theString
specified as an error message.- Parameters:
msg
- The error message for the exception.
-
JXPathException
Constructs a newJXPathException
with the givenException
base cause and detail message.- Parameters:
msg
- The detail message.cause
- The exception to be encapsulated in a JXPathException
-
JXPathException
Constructs a newJXPathException
with a givenThrowable
base cause of the error.- Parameters:
cause
- The exception to be encapsulated in a JXPathException.
-
-
Method Details