Package org.jaxen

Class 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.
    See Also:
    Serialized Form
    • 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 function call to fail