com.xmlmill.exception
Class XMLMillException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.xml.sax.SAXException
                    |
                    +--com.xmlmill.exception.XMLMillException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
XMLMillConfigError, XMLMillError, XMLMillFatalError, XMLMillNotRecognizedException, XMLMillWarning

public class XMLMillException
extends org.xml.sax.SAXException

Encapsulates a XMLMillWarning, XMLMillError or XMLMillFatalError.

This class and its subclasses are a form of Throwable that indicates conditions that this application (XMLMill) wants to catch.

Since:
1.35
See Also:
Serialized Form

Constructor Summary
XMLMillException(java.lang.String message)
          Create a new XMLMillException.
XMLMillException(java.lang.String message, java.lang.Exception e)
          Create a new XMLMillException.
 
Methods inherited from class org.xml.sax.SAXException
getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLMillException

public XMLMillException(java.lang.String message)
Create a new XMLMillException.

Parameters:
message - The error or warning message.
Since:
1.35

XMLMillException

public XMLMillException(java.lang.String message,
                        java.lang.Exception e)
Create a new XMLMillException.

Parameters:
message - The error or warning message.
e - The Exception to throw.
Since:
1.35