org.extex.interpreter.exception
Class InterpreterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.extex.core.exception.GeneralException
              extended by org.extex.interpreter.exception.InterpreterException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LoaderException, PdftexUnsupportedException

public class InterpreterException
extends GeneralException

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

Version:
$Revision:5563 $
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.
 
Methods inherited from class org.extex.core.exception.GeneralException
getHelp, isProcessed, setProcessed
 
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.String message,
                            java.lang.Throwable cause)
Creates a new object.

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

InterpreterException

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

Parameters:
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