com.novell.nds.dirxml.shimhost
Class AttributeValueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.novell.nds.dirxml.shimhost.ConfigException
              extended bycom.novell.nds.dirxml.shimhost.XMLException
                  extended bycom.novell.nds.dirxml.shimhost.AttributeValueException
All Implemented Interfaces:
Serializable

public class AttributeValueException
extends XMLException

Extension of XMLException thrown when an XML attribute has an invalid value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.nds.dirxml.shimhost.XMLException
BAD_ATTRIBUTE_VALUE, BAD_BASE64, BAD_ELEMENT_CONTENT, columnNumber, lineNumber, locationURI, messageSource, MSG_FORMAT, MSG_FORMAT_COL, MSG_MISSING_ATTRIBUTE, MSG_MISSING_ELEMENT
 
Constructor Summary
AttributeValueException(String elementName, String attributeName, String attributeValue, Node location)
          Construct a AttributeValueException with the passed element name and location information.
 
Methods inherited from class com.novell.nds.dirxml.shimhost.XMLException
getMessage, setLocation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeValueException

public AttributeValueException(String elementName,
                               String attributeName,
                               String attributeValue,
                               Node location)
Construct a AttributeValueException with the passed element name and location information.

Parameters:
elementName - tag name of element with bad attribute value
attributeName - name of attribute with bad value
attributeValue - the bad value
location - DOM node from which to extract document location information