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.

Author: bob mcwhirter (bob @ werken.com) James Strachan

Field Summary
static longserialVersionUID
Constructor Summary
FunctionCallException(String message)
Create a new FunctionCallException with the specified detail message.
FunctionCallException(Throwable nestedException)
Create a new FunctionCallException with the specified root cause.
FunctionCallException(String message, Exception nestedException)
Create a new FunctionCallException with the specified detail message and root cause.
Method Summary
ThrowablegetNestedException()

Returns the exception that caused this function call to fail.

Field Detail

serialVersionUID

private static final long serialVersionUID

Constructor Detail

FunctionCallException

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

Parameters: message the detail message

FunctionCallException

public FunctionCallException(Throwable nestedException)
Create a new FunctionCallException with the specified root cause.

Parameters: nestedException the cause of this exception

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

Method Detail

getNestedException

public Throwable getNestedException()

Deprecated: replaced by FunctionCallException

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

Returns: the exception that caused this function call to fail