Class XPathException

  • All Implemented Interfaces:
    java.io.Serializable

    public class XPathException
    extends javax.xml.transform.TransformerException
    XPathException is used to indicate an error in an XPath expression. We don't distinguish compile-time errors from run-time errors because there are too many overlaps, e.g. constant expressions can be evaluated at compile-time, and expressions can be optimised either at compile-time or at run-time.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XPathException​(java.lang.Exception err)  
      XPathException​(java.lang.String message)  
      XPathException​(java.lang.String message, java.lang.Exception err)  
    • Method Summary

      • Methods inherited from class javax.xml.transform.TransformerException

        getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XPathException

        public XPathException​(java.lang.String message)
      • XPathException

        public XPathException​(java.lang.Exception err)
      • XPathException

        public XPathException​(java.lang.String message,
                              java.lang.Exception err)