com.novell.nds.dirxml.shimhost
Class ElementContentException

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.ElementContentException
All Implemented Interfaces:
Serializable

public class ElementContentException
extends XMLException

Extension of XMLException thrown when an XML element has invalid content.

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
ElementContentException(String elementName, Node location)
          Construct a ElementContentException 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

ElementContentException

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

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