Package org.dom4j

Class XPathException

  • All Implemented Interfaces:
    java.io.Serializable

    public class XPathException
    extends java.lang.RuntimeException
    XPathException is thrown when an exception occurs while evaluating an XPath expression, usually due to some function throwing an exception.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XPathException​(java.lang.String xpath)  
      XPathException​(java.lang.String xpath, java.lang.Exception e)  
      XPathException​(java.lang.String xpath, java.lang.String reason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getXPath()
      Returns the XPath expression that caused the problem
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, 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 xpath)
      • XPathException

        public XPathException​(java.lang.String xpath,
                              java.lang.String reason)
      • XPathException

        public XPathException​(java.lang.String xpath,
                              java.lang.Exception e)
    • Method Detail

      • getXPath

        public java.lang.String getXPath()
        Returns the XPath expression that caused the problem
        Returns:
        DOCUMENT ME!