|
||||||||||
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
com.gargoylesoftware.htmlunit.ElementNotFoundException
public class ElementNotFoundException
An exception that is thrown when a specified XML element cannot be found in the DOM model.
Constructor Summary | |
---|---|
ElementNotFoundException(String elementName,
String attributeName,
String attributeValue)
Creates an instance from the variables that were used to search for the XML element. |
Method Summary | |
---|---|
String |
getAttributeName()
Returns the name of the attribute. |
String |
getAttributeValue()
Returns the value of the attribute. |
String |
getElementName()
Returns the name of the element. |
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(String elementName, String attributeName, String attributeValue)
elementName
- the name of the elementattributeName
- the name of the attributeattributeValue
- the value of the attributeMethod Detail |
---|
public String getElementName()
public String getAttributeName()
public String getAttributeValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |