org.jaxen
Class FunctionCallException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jaxen.saxpath.SAXPathException
              extended by org.jaxen.JaxenException
                  extended by org.jaxen.FunctionCallException
All Implemented Interfaces:
java.io.Serializable

public class FunctionCallException
extends JaxenException

FunctionCallException is thrown if an exception occurs during the evaluation of a function. This exception may include a root exception, such as if the real exception was failure to load an XML document via the document() function call.

Author:
bob mcwhirter (bob @ werken.com), James Strachan
See Also:
Serialized Form

Field Summary
private  java.lang.Throwable nestedException
           
 
Constructor Summary
FunctionCallException(java.lang.String message)
           
FunctionCallException(java.lang.String message, java.lang.Exception nestedException)
           
FunctionCallException(java.lang.Throwable nestedException)
           
 
Method Summary
 java.lang.Throwable fillInStackTrace()
           
 java.lang.Throwable getNestedException()
           
 void printStackTrace()
          Overriden to print this exception's stack, followed by the source exception's, if any.
 void printStackTrace(java.io.PrintStream s)
          Overriden to print this exception's stack, followed by the source exception's, if any.
 void printStackTrace(java.io.PrintWriter w)
          Overriden to print this exception's stack, followed by the source exception's, if any.
 
Methods inherited from class org.jaxen.JaxenException
getRootCause
 
Methods inherited from class org.jaxen.saxpath.SAXPathException
getCause
 
Methods inherited from class java.lang.Throwable
getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nestedException

private java.lang.Throwable nestedException
Constructor Detail

FunctionCallException

public FunctionCallException(java.lang.String message)

FunctionCallException

public FunctionCallException(java.lang.Throwable nestedException)

FunctionCallException

public FunctionCallException(java.lang.String message,
                             java.lang.Exception nestedException)
Method Detail

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Description copied from class: SAXPathException
Overriden to print this exception's stack, followed by the source exception's, if any.

Overrides:
printStackTrace in class SAXPathException

printStackTrace

public void printStackTrace(java.io.PrintWriter w)
Description copied from class: SAXPathException
Overriden to print this exception's stack, followed by the source exception's, if any.

Overrides:
printStackTrace in class SAXPathException

printStackTrace

public void printStackTrace()
Description copied from class: SAXPathException
Overriden to print this exception's stack, followed by the source exception's, if any.

Overrides:
printStackTrace in class SAXPathException

fillInStackTrace

public java.lang.Throwable fillInStackTrace()
Overrides:
fillInStackTrace in class java.lang.Throwable

getNestedException

public java.lang.Throwable getNestedException()