public class MissingAttributeException extends XMLException
XMLException thrown when a required XML attribute is missing from
an element in an XML document.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 |
|---|
MissingAttributeException(java.lang.String elementName,
java.lang.String attributeName,
org.w3c.dom.Node location)
Construct a
MissingElementException with the passed element name
and location information. |
getMessage, setLocationpublic MissingAttributeException(java.lang.String elementName,
java.lang.String attributeName,
org.w3c.dom.Node location)
MissingElementException with the passed element name
and location information.elementName - tag name of elementattributeName - name of missing attributelocation - DOM node from which to extract document location information