org.extex.main.tex.exception
Class MainException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.extex.core.exception.GeneralException
org.extex.main.tex.exception.MainException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MainCodingException, MainConfigurationException, MainIOException, MainMissingArgumentException, MainOutputFileNotFoundException, MainUnknownDebugOptionException, MainUnknownOptionException
public class MainException
- extends GeneralException
This is the base class for all exceptions of the main class. In addition to
the message and cause attributes of the Exception it also carries an integer
which is meant to be used as exit status for the main program.
- Version:
- $Revision:4708 $
- Author:
- Gerd Neugebauer
- See Also:
- Serialized Form
|
Field Summary |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
|
Constructor Summary |
MainException(java.lang.String theMessage)
Creates a new object. |
MainException(java.lang.Throwable cause)
Creates a new object. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
serialVersionUID
protected static final long serialVersionUID
- The constant serialVersionUID contains the id for serialization.
- See Also:
- Constant Field Values
MainException
public MainException(java.lang.String theMessage)
- Creates a new object.
- Parameters:
theMessage - the message
MainException
public MainException(java.lang.Throwable cause)
- Creates a new object.
- Parameters:
cause - the cause for this Exception
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Getter for the message.
- Overrides:
getLocalizedMessage in class java.lang.Throwable
- Returns:
- the message