Package org.jaxen
Class FunctionCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaxen.saxpath.SAXPathException
org.jaxen.JaxenException
org.jaxen.FunctionCallException
- All Implemented Interfaces:
Serializable
Thrown if an exception occurs during the evaluation of a function.
This exception may include a root exception--for instance an
IOException
if the real problem was failure to
load an XML document via the XSLT document()
function.- See Also:
-
Field Summary
FieldsFields inherited from class org.jaxen.JaxenException
javaVersion
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionCallException
(String message) Create a new FunctionCallException with the specified detail message.FunctionCallException
(String message, Exception nestedException) Create a new FunctionCallException with the specified detail message and root cause.FunctionCallException
(Throwable nestedException) Create a new FunctionCallException with the specified root cause. -
Method Summary
Methods inherited from class org.jaxen.saxpath.SAXPathException
getCause, initCause, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
FunctionCallException
Create a new FunctionCallException with the specified detail message.- Parameters:
message
- the detail message
-
FunctionCallException
Create a new FunctionCallException with the specified root cause.- Parameters:
nestedException
- the cause of this exception
-
FunctionCallException
Create a new FunctionCallException with the specified detail message and root cause.- Parameters:
message
- the detail messagenestedException
- the cause of this exception
-
-
Method Details
-
getNestedException
Deprecated.replaced bySAXPathException.getCause()
Returns the exception that caused this function call to fail. Use
getCause
instead.- Returns:
- the exception that caused this function call to fail
-
SAXPathException.getCause()