org.extex.core.exception.helping
Class EofException

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

public class EofException
extends HelpingException

This exception is raised when an unexpected end of file is encountered.

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

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

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

EofException

public EofException()
Creates a new object.


EofException

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

Parameters:
localizer - the localizer to use
messageTag - the name of the message
a - the argument

EofException

public EofException(java.lang.String macro)
Creates a new object.

Parameters:
macro - the name of the macro in which the eof has been encountered. If the value is null then a shortened error message is used.