com.gargoylesoftware.htmlunit
Class ElementNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gargoylesoftware.htmlunit.ElementNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ElementNotFoundException
extends java.lang.RuntimeException

An exception that is thrown when a specified xml element cannot be found in the dom model

Version:
$Revision: 1.3 $
Author:
Mike Bowler
See Also:
Serialized Form

Constructor Summary
ElementNotFoundException(java.lang.String elementName, java.lang.String attributeName, java.lang.String attributeValue)
 Create an instance from the variables that were used to search for the xml element
 
Method Summary
 java.lang.String getAttributeName()
 Return the name of the attribute
 java.lang.String getAttributeValue()
 Return the value of the attribute
 java.lang.String getElementName()
 Return 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementNotFoundException

public ElementNotFoundException(java.lang.String elementName,
                                java.lang.String attributeName,
                                java.lang.String attributeValue)
Create an instance from the variables that were used to search for the xml element

Parameters:
elementName - The name of the element
attributeName - The name of the attribute
attributeValue - The value of the attribute
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Return the name of the attribute

Returns:
See above

getAttributeValue

public java.lang.String getAttributeValue()
Return the value of the attribute

Returns:
See above

getElementName

public java.lang.String getElementName()
Return the name of the element

Returns:
See above


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.