IMSEVimse 1.0
Draft

se.kth.cid.xml
Class UnknownElementNameException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--se.kth.cid.xml.XmlElementException
                    |
                    +--se.kth.cid.xml.UnknownElementNameException
All Implemented Interfaces:
Serializable

public class UnknownElementNameException
extends XmlElementException

This exception indicates that the XmlElement knows which sub-elements to expect, and found that somone tried to add another sub-element.

Version:
$Revision: 1.1.1.1 $
Author:
Mikael Nilsson
See Also:
Serialized Form

Constructor Summary
UnknownElementNameException(String elementName, XmlElement el)
          Constructs an UnknownElementNameException for the given XmlElement.
 
Methods inherited from class se.kth.cid.xml.XmlElementException
getElement
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownElementNameException

public UnknownElementNameException(String elementName,
                                   XmlElement el)
Constructs an UnknownElementNameException for the given XmlElement.
Parameters:
elementName - the offending element name.
el - the relevant XmlElement.

IMSEVimse 1.0
Draft

Centre for user-oriented IT -design