org.jaxen
Class FunctionCallException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaxen.saxpath.SAXPathException
              extended byorg.jaxen.JaxenException
                  extended byorg.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

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.
 
Method Summary
 java.lang.Throwable getNestedException()
          Deprecated.  
 
Methods inherited from class org.jaxen.JaxenException
getCause, initCause, printStackTrace, printStackTrace
 
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
 

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 message
nestedException - the cause of this exception
Method Detail

getNestedException

public java.lang.Throwable getNestedException()
Deprecated.  

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

Returns:
the exception that caused this fucntion call to fail


Copyright © 2001-2005 Codehaus. All Rights Reserved.