de.dante.extex.main.exception
Class MainIOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.dante.util.exception.GeneralException
              extended byde.dante.extex.main.exception.MainException
                  extended byde.dante.extex.main.exception.MainIOException
All Implemented Interfaces:
java.io.Serializable

public class MainIOException
extends MainException

This exception is a wrapper for the IOException. It converts this exception into a MainException with an appropriate exit status.

Version:
$Revision: 1.5 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
MainIOException(java.lang.Throwable cause)
          Creates a new object.
 
Method Summary
 java.lang.String getLocalizedMessage()
          Getter for the message.
 
Methods inherited from class de.dante.extex.main.exception.MainException
getCode
 
Methods inherited from class de.dante.util.exception.GeneralException
getExitCode, getHelp, getLocalizer
 
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
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

MainIOException

public MainIOException(java.lang.Throwable cause)
Creates a new object.

Parameters:
cause - the root of all evil
Method Detail

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Description copied from class: MainException
Getter for the message.

Overrides:
getLocalizedMessage in class MainException
Returns:
the message
See Also:
Throwable.getLocalizedMessage()