net.walend.lyophil
Class ZombieIdentifierException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--net.walend.lang.NestedRuntimeException
                          |
                          +--net.walend.lyophil.LyophilRuntimeException
                                |
                                +--net.walend.lyophil.ZombieIdentifierException
All Implemented Interfaces:
HasNestedThrowable, java.io.Serializable

public class ZombieIdentifierException
extends LyophilRuntimeException
implements java.io.Serializable

Algorithms and business logic throw this exception when the Freezer does not contain a given Identifier, but the calling code expects it to.

Since:
20010131
Author:
David Walend

Field Summary
private  java.io.Serializable 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
ZombieIdentifierException(java.io.Serializable zombie)
          Only use this constructor for Serialization.
ZombieIdentifierException(java.io.Serializable zombie, java.lang.String message)
           
ZombieIdentifierException(java.io.Serializable zombie, java.lang.String message, java.lang.Throwable nester)
           
ZombieIdentifierException(java.io.Serializable zombie, java.lang.Throwable nester)
           
 
Method Summary
 java.io.Serializable getIdentifier()
           
 java.lang.String getMessage()
          Returns this exception's message, followed by the nested Throwable's message, surrounded by []'s.
 
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 java.io.Serializable zombie
Constructor Detail

ZombieIdentifierException

public ZombieIdentifierException(java.io.Serializable zombie)
Only use this constructor for Serialization.


ZombieIdentifierException

public ZombieIdentifierException(java.io.Serializable zombie,
                                 java.lang.String message)

ZombieIdentifierException

public ZombieIdentifierException(java.io.Serializable zombie,
                                 java.lang.Throwable nester)

ZombieIdentifierException

public ZombieIdentifierException(java.io.Serializable 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

getIdentifier

public java.io.Serializable getIdentifier()


Copyright (c) 2000, 2001, David Walend