org.spicefactory.cinnamon.reflect.util
Class CacheException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.spicefactory.cinnamon.reflect.util.CacheException
All Implemented Interfaces:
Serializable

public class CacheException
extends RuntimeException

Exception thrown when retrieving objects from a Cache instance fails, usually due to a Factory method that threw an Exception.

Author:
Jens Halm
See Also:
Serialized Form

Constructor Summary
CacheException(String message)
          Creates a new CacheException.
CacheException(String message, Throwable cause)
          Creates a new CacheException.
 
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
 

Constructor Detail

CacheException

public CacheException(String message)
Creates a new CacheException.

Parameters:
message - the error message

CacheException

public CacheException(String message,
                      Throwable cause)
Creates a new CacheException.

Parameters:
message - the error message
cause - the root cause