de.dante.extex.interpreter.exception.helping
Class CantUseInException

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

public class CantUseInException
extends HelpingException

This exception is raised when a macro is encountered in a mode for which it is not meant.

The localization format is taken from the Localizer under the key TTP.CantUseIn.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
CantUseInException(java.lang.String macro, java.lang.String mode)
          Creates a new object.
 
Methods inherited from class de.dante.extex.interpreter.exception.helping.HelpingException
getHelp, getLocalizedMessage
 
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, 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

CantUseInException

public CantUseInException(java.lang.String macro,
                          java.lang.String mode)
Creates a new object.

Parameters:
macro - the name of the macro in which the eof has been encountered
mode - the current mode