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
XmlElementException
public XmlElementException(String nreason,
XmlElement el)
- Constructs an XmlElementException for the given XmlElement.
- Parameters:
nreason
- the detail message.el
- the relevant XmlElement.
getElement
public XmlElement getElement()
- Returns the element that had problems.
- Returns:
- the element that had problems.
Centre for user-oriented IT -design