net.walend.lyophil
Class ZombieFreezableException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--net.walend.lang.NestedRuntimeException
|
+--net.walend.lyophil.LyophilRuntimeException
|
+--net.walend.lyophil.ZombieFreezableException
- All Implemented Interfaces:
- HasNestedThrowable, java.io.Serializable
- public class ZombieFreezableException
- extends LyophilRuntimeException
- implements java.io.Serializable
Algorithms and business logic throw this exception when the Freezer does not contain a given Freezable, but the calling code expects it to.
- Since:
- 20010131
- Author:
- David Walend
Fields inherited from class java.lang.RuntimeException |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
java.lang.String |
getMessage()
Returns this exception's message, followed by the nested Throwable's message, surrounded by []'s. |
Freezable |
getZombie()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
zombie
private Freezable zombie
ZombieFreezableException
public ZombieFreezableException(Freezable zombie)
- Only use this constructor for Serialization.
ZombieFreezableException
public ZombieFreezableException(Freezable zombie,
java.lang.String message)
ZombieFreezableException
public ZombieFreezableException(Freezable zombie,
java.lang.Throwable nester)
ZombieFreezableException
public ZombieFreezableException(Freezable zombie,
java.lang.String message,
java.lang.Throwable nester)
getMessage
public java.lang.String getMessage()
- Description copied from class:
NestedRuntimeException
- Returns this exception's message, followed by the nested Throwable's message, surrounded by []'s.
- Overrides:
getMessage
in class NestedRuntimeException
getZombie
public Freezable getZombie()
Copyright (c) 2000, 2001, David Walend