edu.illinois.cs.cogcomp.lbj.coref.util.xml
Class XMLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.illinois.cs.cogcomp.lbj.coref.util.xml.XMLException
- All Implemented Interfaces:
- java.io.Serializable
public class XMLException
- extends java.lang.Exception
- Author:
- Eric Bengtson
Encapsulates various exceptions that may arise during XML processing.
- See Also:
- Serialized Form
Constructor Summary |
XMLException(java.lang.String error)
|
XMLException(java.lang.String error,
java.lang.Exception ex)
Constructor |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
m_nestedException
protected java.lang.Exception m_nestedException
m_error
protected java.lang.String m_error
XMLException
public XMLException(java.lang.String error,
java.lang.Exception ex)
- Constructor
- Parameters:
error
- The relevant error messageex
- The exception to encapsulate
XMLException
public XMLException(java.lang.String error)
getNestedException
public java.lang.Exception getNestedException()
- Returns:
- The nested exception. null if none given.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable