org.extex.scanner.api.exception
Class InvalidCharacterScannerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.extex.core.exception.GeneralException
              extended by org.extex.scanner.api.exception.ScannerException
                  extended by org.extex.scanner.api.exception.InvalidCharacterScannerException
All Implemented Interfaces:
java.io.Serializable

public class InvalidCharacterScannerException
extends ScannerException

This exception signals that an invalid character has been encountered.

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

Constructor Summary
InvalidCharacterScannerException(UnicodeChar c)
          Creates a new object.
 
Method Summary
 UnicodeChar getC()
          Getter for the invalid character.
 java.lang.String getLocalizedMessage()
          Creates a localized description of this throwable.
 
Methods inherited from class org.extex.core.exception.GeneralException
getHelp, 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
 

Constructor Detail

InvalidCharacterScannerException

public InvalidCharacterScannerException(UnicodeChar c)
Creates a new object.

Parameters:
c - the character
Method Detail

getC

public UnicodeChar getC()
Getter for the invalid character.

Returns:
the invalid character

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Creates a localized description of this throwable.

Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
the localized description of this throwable
See Also:
Throwable.getLocalizedMessage()