com.novell.nds.dirxml.shimhost
Class MissingAttributeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.novell.nds.dirxml.shimhost.ConfigException
              extended by com.novell.nds.dirxml.shimhost.XMLException
                  extended by com.novell.nds.dirxml.shimhost.MissingAttributeException
All Implemented Interfaces:
Serializable

public class MissingAttributeException
extends XMLException

Extension of XMLException thrown when a required XML attribute is missing from an element in an XML document.

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
MissingAttributeException(String elementName, String attributeName, Node location)
          Construct a MissingElementException with the passed element name and location information.
 
Method Summary
 
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

MissingAttributeException

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

Parameters:
elementName - tag name of element
attributeName - name of missing attribute
location - DOM node from which to extract document location information