org.extex.core.exception.helping
Class InvalidCharacterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.extex.core.exception.GeneralException
              extended by org.extex.core.exception.helping.HelpingException
                  extended by org.extex.core.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: 4388 $
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 org.extex.core.exception.helping.HelpingException
getHelp, getLocalizedMessage
 
Methods inherited from class org.extex.core.exception.GeneralException
getLocalizer, isProcessed, setProcessed
 
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