Class ElementNotFoundException

    • Constructor Detail

      • ElementNotFoundException

        public ElementNotFoundException​(String xpath,
                                        Element searched)
        Constructor that provides a default message based on the XPath and element search.
        xpath - query that failed
        searched - context under which the query failed to match
    • Method Detail

      • getSearched

        public Element getSearched()
        Getter that returns the XML Element which didn't match on the given XPath.
        context of the XPath query.
      • getXpath

        public String getXpath()
        Getter for the XPath that didn't match.
        the XPath query that failed