JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit

Class ElementNotFoundException

  • All Implemented Interfaces:
    Serializable


    public class ElementNotFoundException
    extends RuntimeException 
    An exception that is thrown when a specified XML element cannot be found in the DOM model.
    Author:
    Mike Bowler
    See Also:
    Serialized Form
    • Constructor Detail

      • ElementNotFoundException

        public ElementNotFoundException(String elementName,
         String attributeName,
         String attributeValue)
        Creates 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

      • getElementName

        public String getElementName()
        Returns the name of the element.
        Returns:
        the name of the element
      • getAttributeName

        public String getAttributeName()
        Returns the name of the attribute.
        Returns:
        the name of the attribute
      • getAttributeValue

        public String getAttributeValue()
        Returns the value of the attribute.
        Returns:
        the value of the attribute
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /