Class XPathException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XPathProcessorException

public class XPathException extends TransformerException
This class implements an exception object that all XPath classes will throw in case of an error. This class extends TransformerException, and may hold other exceptions. In the case of nested exceptions, printStackTrace will dump all the traces of the nested exceptions, not just the trace of this object.
See Also:
  • Constructor Details

    • XPathException

      public XPathException(String message, SourceLocator ex)
      Create an XPathException object that holds an error message.
      Parameters:
      message - The error message.
    • XPathException

      public XPathException(String message)
      Create an XPathException object that holds an error message.
      Parameters:
      message - The error message.
  • Method Details