public class ElementNotFoundException extends RuntimeException
Constructor and Description |
---|
ElementNotFoundException(String elementName,
String attributeName,
String attributeValue)
Creates an instance from the variables that were used to search for the XML element.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName()
Returns the name of the attribute.
|
String |
getAttributeValue()
Returns the value of the attribute.
|
String |
getElementName()
Returns the name of the element.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ElementNotFoundException(String elementName, String attributeName, String attributeValue)
elementName
- the name of the elementattributeName
- the name of the attributeattributeValue
- the value of the attributepublic String getElementName()
public String getAttributeName()
public String getAttributeValue()
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.