public class AttributeValueException extends XMLException
XMLException
thrown when an XML attribute has an invalid value.BAD_ATTRIBUTE_VALUE, BAD_BASE64, BAD_ELEMENT_CONTENT, columnNumber, lineNumber, locationURI, messageSource, MSG_FORMAT, MSG_FORMAT_COL, MSG_MISSING_ATTRIBUTE, MSG_MISSING_ELEMENT
Constructor and Description |
---|
AttributeValueException(java.lang.String elementName,
java.lang.String attributeName,
java.lang.String attributeValue,
org.w3c.dom.Node location)
Construct a
AttributeValueException with the passed element name
and location information. |
getMessage, setLocation
public AttributeValueException(java.lang.String elementName, java.lang.String attributeName, java.lang.String attributeValue, org.w3c.dom.Node location)
AttributeValueException
with the passed element name
and location information.elementName
- tag name of element with bad attribute valueattributeName
- name of attribute with bad valueattributeValue
- the bad valuelocation
- DOM node from which to extract document location information