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:
java.io.Serializable
public class FunctionCallException extends JaxenException
Thrown if an exception occurs during the evaluation of a function. This exception may include a root exception--for instance anIOExceptionif the real problem was failure to load an XML document via the XSLTdocument()function.- Author:
- bob mcwhirter (bob @ werken.com), James Strachan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FunctionCallException(java.lang.String message)Create a new FunctionCallException with the specified detail message.FunctionCallException(java.lang.String message, java.lang.Exception nestedException)Create a new FunctionCallException with the specified detail message and root cause.FunctionCallException(java.lang.Throwable nestedException)Create a new FunctionCallException with the specified root cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.ThrowablegetNestedException()Deprecated.replaced bySAXPathException.getCause()-
Methods inherited from class org.jaxen.saxpath.SAXPathException
getCause, initCause, printStackTrace, printStackTrace
-
-
-
-
Constructor Detail
-
FunctionCallException
public FunctionCallException(java.lang.String message)
Create a new FunctionCallException with the specified detail message.- Parameters:
message- the detail message
-
FunctionCallException
public FunctionCallException(java.lang.Throwable nestedException)
Create a new FunctionCallException with the specified root cause.- Parameters:
nestedException- the cause of this exception
-
FunctionCallException
public FunctionCallException(java.lang.String message, java.lang.Exception nestedException)Create a new FunctionCallException with the specified detail message and root cause.- Parameters:
message- the detail messagenestedException- the cause of this exception
-
-
Method Detail
-
getNestedException
public java.lang.Throwable getNestedException()
Deprecated.replaced bySAXPathException.getCause()Returns the exception that caused this function call to fail. Use
getCauseinstead.- Returns:
- the exception that caused this function call to fail
-
-