|Constructor and Description|
Constructor that provides a default message based on the XPath and element search.
|Modifier and Type||Method and Description|
Getter that returns the XML Element which didn't match on the given XPath.
Getter for the XPath that didn't match.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ElementNotFoundException(String xpath, org.dom4j.Element searched)
xpath- query that failed
searched- context under which the query failed to match
public org.dom4j.Element getSearched()
public String getXpath()
Copyright © 2004-2013 Codehaus. All Rights Reserved.