de.dante.extex.main.exception
Class MainUnknownOptionException

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.MainUnknownOptionException
All Implemented Interfaces:
java.io.Serializable

public class MainUnknownOptionException
extends MainException

This exception is thrown when the main program encounters an unknown commandline option.

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
MainUnknownOptionException(java.lang.String message)
          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

MainUnknownOptionException

public MainUnknownOptionException(java.lang.String message)
Creates a new object.

Parameters:
message - the name of the unknown option
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()