|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codehaus.cargo.util.ElementNotFoundException
public class ElementNotFoundException
Exception raised when an XPath search returns no results.
Constructor Summary | |
---|---|
ElementNotFoundException(java.lang.String xpath,
org.dom4j.Element searched)
Constructor that provides a default message based on the XPath and element search. |
Method Summary | |
---|---|
org.dom4j.Element |
getSearched()
Getter that returns the XML Element which didn't match on the given XPath. |
java.lang.String |
getXpath()
Getter for the XPath that didn't match. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 |
---|
public ElementNotFoundException(java.lang.String xpath, org.dom4j.Element searched)
xpath
- query that failedsearched
- context under which the query failed to matchMethod Detail |
---|
public org.dom4j.Element getSearched()
public java.lang.String getXpath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |