org.jaxen

Class FunctionCallException


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.
Authors:
bob mcwhirter (bob @ werken.com)
James Strachan

Field Summary

private static long
serialVersionUID

Fields inherited from class org.jaxen.JaxenException

javaVersion, serialVersionUID

Fields inherited from class org.jaxen.saxpath.SAXPathException

cause, causeSet, javaVersion, serialVersionUID

Constructor Summary

FunctionCallException(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

Throwable
getNestedException()
Deprecated. replaced by getCause()

Methods inherited from class org.jaxen.saxpath.SAXPathException

getCause, initCause, printStackTrace, printStackTrace

Field Details

serialVersionUID

private static final long serialVersionUID
Field Value:
7908649612495640943L

Constructor Details

FunctionCallException

public FunctionCallException(String message)
Create a new FunctionCallException with the specified detail message.
Parameters:
message - the detail message

FunctionCallException

public FunctionCallException(String message,
                             Exception nestedException)
Create a new FunctionCallException with the specified detail message and root cause.
Parameters:
message - the detail message
nestedException - the cause of this exception

FunctionCallException

public FunctionCallException(Throwable nestedException)
Create a new FunctionCallException with the specified root cause.
Parameters:
nestedException - the cause of this exception

Method Details

getNestedException

public Throwable getNestedException()

Deprecated. replaced by getCause()

Returns the exception that caused this function call to fail. Use getCause instead.
Returns:
the exception that caused this function call to fail