de.dante.extex.interpreter.exception
Class InterpreterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.dante.util.exception.GeneralException
              extended byde.dante.extex.interpreter.exception.InterpreterException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ErrorLimitException, HelpingException, IllegalRegisterException, InteractionUnknownException, InterpreterArithmeticException, InterpreterExtensionException, InterpreterExtensionInvalidException, InterpreterMissingHashKeyException, InterpreterMissingHashValueException, InterpreterMissingLeftBraceException, InterpreterMissingNumberException, InterpreterMissingRightBraceException, InterpreterNoBoolValueException, InterpreterNumberFormatException, InterpreterPanicException, InterpreterPdftexException, InterpreterPdftexUnsupportedException, LoaderException, MissingEndcsnameException, MissingOcplistException, TypesetterException

public class InterpreterException
extends GeneralException

This is the base class for all exceptions of the interpreter.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
InterpreterException()
          Creates a new object.
InterpreterException(Localizer localizer)
          Creates a new object.
InterpreterException(java.lang.String message)
          Creates a new object.
InterpreterException(java.lang.String message, java.lang.Throwable cause)
          Creates a new object.
InterpreterException(java.lang.Throwable cause)
          Creates a new object.
 
Method Summary
 Localizer getLocalizer()
          Getter for localizer.
 boolean isProcessed()
          Getter for processed.
 void setProcessed(boolean processed)
          Setter for processed.
 
Methods inherited from class de.dante.util.exception.GeneralException
getExitCode, getHelp
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InterpreterException

public InterpreterException()
Creates a new object.


InterpreterException

public InterpreterException(Localizer localizer)
Creates a new object.

Parameters:
localizer - the localizer

InterpreterException

public InterpreterException(java.lang.String message)
Creates a new object.

Parameters:
message - the message field

InterpreterException

public InterpreterException(java.lang.Throwable cause)
Creates a new object.

Parameters:
cause - the root of all evil

InterpreterException

public InterpreterException(java.lang.String message,
                            java.lang.Throwable cause)
Creates a new object.

Parameters:
message - the message field
cause - the root of all evil
Method Detail

getLocalizer

public Localizer getLocalizer()
Getter for localizer. If no localizer is stored within the current instance than the localizer is created with the class name as key.

Overrides:
getLocalizer in class GeneralException
Returns:
the localizer

isProcessed

public boolean isProcessed()
Getter for processed.

Returns:
the processed

setProcessed

public void setProcessed(boolean processed)
Setter for processed.

Parameters:
processed - the processed to set