|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.extex.core.exception.ImpossibleException
public class ImpossibleException
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 exception is thrown in the default clause.
This exception is not applicable for i18n.
| 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. |
|
| Method Summary |
|---|
| 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 |
|---|
protected static final long serialVersionUID
| Constructor Detail |
|---|
public ImpossibleException(java.lang.String message)
message - the description of the errorpublic ImpossibleException(java.lang.Throwable cause)
cause - the cause of the error
public ImpossibleException(java.lang.String message,
java.lang.Throwable cause)
message - the description of the errorcause - the cause of the error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||