de.dante.extex.interpreter.primitives.info.util
Class FixedHelpingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.dante.util.exception.GeneralException
de.dante.extex.interpreter.exception.InterpreterException
de.dante.extex.interpreter.exception.helping.HelpingException
de.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 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 |
serialVersionUID
protected static final long serialVersionUID
- The constant serialVersionUID contains the id for serialization.
- See Also:
- Constant Field Values
FixedHelpingException
public FixedHelpingException(java.lang.String message,
java.lang.String help)
- Creates a new object.
- Parameters:
message
- the message of this Exceptionhelp
- the help string
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()