de.dante.extex.interpreter.exception
Class ImpossibleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byde.dante.extex.interpreter.exception.ImpossibleException
All Implemented Interfaces:
java.io.Serializable

public class ImpossibleException
extends java.lang.RuntimeException

This exception indicates that a situation has been detected which should not happen. This results from conservative programming. For instance if all possible values of a variable are processed in a switch statement and then this exceptiopn is thrown in the default clause.

This exception is not applicable for i18n.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
ImpossibleException(java.lang.String message)
          Creates a new object.
ImpossibleException(java.lang.String message, java.lang.Throwable cause)
          Creates a new object.
ImpossibleException(java.lang.Throwable cause)
          Creates a new object.
 
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

ImpossibleException

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

Parameters:
message - the description of the error

ImpossibleException

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

Parameters:
cause - the cause of the error

ImpossibleException

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

Parameters:
message - the description of the error
cause - the cause of the error