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

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.InvalidCharacterException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidCharacterNameException

public class InvalidCharacterException
extends HelpingException

This exception is raised when an unexpected character code is encountered.

The localization format is taken from the Localizer under the key UnexpectedEofIn.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
InvalidCharacterException(Localizer localizer, java.lang.String messageTag, java.lang.String arg)
          Creates a new object.
InvalidCharacterException(java.lang.String uc)
          Creates a new object.
InvalidCharacterException(UnicodeChar uc)
          Creates a new object.
 
Method Summary
 java.lang.String getChar()
          Getter for cc.
 
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

InvalidCharacterException

public InvalidCharacterException(UnicodeChar uc)
Creates a new object.

Parameters:
uc - the invalid character

InvalidCharacterException

public InvalidCharacterException(java.lang.String uc)
Creates a new object.

Parameters:
uc - the invalid character

InvalidCharacterException

public InvalidCharacterException(Localizer localizer,
                                 java.lang.String messageTag,
                                 java.lang.String arg)
Creates a new object.

Parameters:
localizer - the localizer
messageTag - the message tag
arg - the argument
Method Detail

getChar

public java.lang.String getChar()
Getter for cc.

Returns:
the cc