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

Field Summary
private  Freezable zombie
           
 
Fields inherited from class net.walend.lang.NestedRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ZombieFreezableException(Freezable zombie)
          Only use this constructor for Serialization.
ZombieFreezableException(Freezable zombie, java.lang.String message)
           
ZombieFreezableException(Freezable zombie, java.lang.String message, java.lang.Throwable nester)
           
ZombieFreezableException(Freezable zombie, java.lang.Throwable nester)
           
 
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 net.walend.lang.NestedRuntimeException
getNestedThrowable, hasNestedThrowable, printLimitedStackTrace, printLimitedStackTrace, printLimitedStackTrace, printStackTrace, printStackTrace, printStackTrace
 
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
 

Field Detail

zombie

private Freezable zombie
Constructor Detail

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)
Method Detail

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