com.cometway.xml
Class XMLParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cometway.xml.XMLParserException
All Implemented Interfaces:
java.io.Serializable

public class XMLParserException
extends java.lang.Exception

This exception is thrown by XMLParser when there is a problem.

See Also:
Serialized Form

Constructor Summary
XMLParserException(java.lang.String message)
          Constructor used when there is a Parsing problem.
XMLParserException(java.lang.String message, java.lang.Exception originalException)
          Constructor to use when the XMLParserException was caused by another exception.
 
Method Summary
 java.lang.Exception getOriginalException()
          Returns a reference to the exception that caused this one.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

XMLParserException

public XMLParserException(java.lang.String message)
Constructor used when there is a Parsing problem.


XMLParserException

public XMLParserException(java.lang.String message,
                          java.lang.Exception originalException)
Constructor to use when the XMLParserException was caused by another exception.

Method Detail

getOriginalException

public java.lang.Exception getOriginalException()
Returns a reference to the exception that caused this one.