Class JXPathException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JXPathAbstractFactoryException, JXPathFunctionNotFoundException, JXPathInvalidAccessException, JXPathInvalidSyntaxException, JXPathNotFoundException, JXPathTypeConversionException

public class JXPathException extends RuntimeException
Thrown in various situations by JXPath; may contain a nested exception.
See Also:
  • Constructor Details Link icon

    • JXPathException Link icon

      public JXPathException()
      Constructs a new JXPathException with no detail mesage.
    • JXPathException Link icon

      public JXPathException(String msg)
      Constructs a new JXPathException with the String specified as an error message.
      Parameters:
      msg - The error message for the exception.
    • JXPathException Link icon

      public JXPathException(String msg, Throwable cause)
      Constructs a new JXPathException with the given Exception base cause and detail message.
      Parameters:
      msg - The detail message.
      cause - The exception to be encapsulated in a JXPathException
    • JXPathException Link icon

      public JXPathException(Throwable cause)
      Constructs a new JXPathException with a given Throwable base cause of the error.
      Parameters:
      cause - The exception to be encapsulated in a JXPathException.
  • Method Details Link icon

    • getException Link icon

      Gets the actual exception (if any) that caused this exception to be raised.
      Returns:
      The encapsulated exception, or null if there is none.