Class CantUseInException

  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:

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.

$Revision: 1.6 $
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
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


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

See Also:
Constant Field Values
Constructor Detail


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

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