de.dante.extex.interpreter.primitives.info.util
Class FixedHelpingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.dante.util.exception.GeneralException
              extended byde.dante.extex.interpreter.exception.InterpreterException
                  extended byde.dante.extex.interpreter.exception.helping.HelpingException
                      extended byde.dante.extex.interpreter.primitives.info.util.FixedHelpingException
All Implemented Interfaces:
java.io.Serializable

public class FixedHelpingException
extends HelpingException

This class provides an Exception with the possibility to provide additional help on the error encountered. Thus it has two levels of information: the first level is the message and the second level is the additional help.

In contrast to HelpingException the messages are not mapped. Thus they are not subject to internationalization.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
FixedHelpingException(java.lang.String message, java.lang.String help)
          Creates a new object.
 
Method Summary
 java.lang.String getHelp()
          Getter for further help information.
 java.lang.String getLocalizedMessage()
          Getter for further help information.
 java.lang.String getMessage()
           
 
Methods inherited from class de.dante.extex.interpreter.exception.InterpreterException
getLocalizer, isProcessed, setProcessed
 
Methods inherited from class de.dante.util.exception.GeneralException
getExitCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

FixedHelpingException

public FixedHelpingException(java.lang.String message,
                             java.lang.String help)
Creates a new object.

Parameters:
message - the message of this Exception
help - the help string
Method Detail

getHelp

public java.lang.String getHelp()
Description copied from class: HelpingException
Getter for further help information.

Overrides:
getHelp in class HelpingException
Returns:
the help information
See Also:
GeneralException.getHelp()

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Description copied from class: HelpingException
Getter for further help information.

Overrides:
getLocalizedMessage in class HelpingException
Returns:
the help information
See Also:
Throwable.getLocalizedMessage()

getMessage

public java.lang.String getMessage()
See Also:
Throwable.getMessage()