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 an
IOException
if the real problem was failure to
load an XML document via the XSLT document()
function.
- Author:
- bob mcwhirter (bob @ werken.com), James Strachan
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
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
getNestedException
public java.lang.Throwable getNestedException()
- Deprecated. replaced by
SAXPathException.getCause()
Returns the exception that caused this function call to fail.
Use getCause
instead.
- Returns:
- the exception that caused this function call to fail