IMSEVimse 1.0
Draft

se.kth.cid.xml
Class XmlElementException

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

public class XmlElementException
extends Exception

This exception is thrown when something goes wrong with an XmlElement.

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

Constructor Summary
XmlElementException(String nreason, XmlElement el)
          Constructs an XmlElementException for the given XmlElement.
 
Method Summary
 XmlElement getElement()
          Returns the element that had problems.
 
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

XmlElementException

public XmlElementException(String nreason,
                           XmlElement el)
Constructs an XmlElementException for the given XmlElement.
Parameters:
nreason - the detail message.
el - the relevant XmlElement.
Method Detail

getElement

public XmlElement getElement()
Returns the element that had problems.
Returns:
the element that had problems.

IMSEVimse 1.0
Draft

Centre for user-oriented IT -design