org.ehcache.exceptions
Class CacheLoadingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ehcache.exceptions.CacheLoadingException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BulkCacheLoadingException

public class CacheLoadingException
extends java.lang.RuntimeException

Exception thrown by a Cache when the CacheLoaderWriter it uses threw an Exception while loading a value for a given key.

See Also:
Serialized Form

Constructor Summary
CacheLoadingException()
          Constructs a CacheLoadingException
CacheLoadingException(java.lang.String message)
          Constructs a CacheLoadingException with the provided message.
CacheLoadingException(java.lang.String message, java.lang.Throwable cause)
          Constructs a CacheLoadingException wrapping the cause passed in and with the provided message.
CacheLoadingException(java.lang.Throwable cause)
          Constructs a CacheLoadingException wrapping the cause passed in.
 
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

CacheLoadingException

public CacheLoadingException()
Constructs a CacheLoadingException


CacheLoadingException

public CacheLoadingException(java.lang.String message)
Constructs a CacheLoadingException with the provided message.

Parameters:
message - the detail message

CacheLoadingException

public CacheLoadingException(java.lang.String message,
                             java.lang.Throwable cause)
Constructs a CacheLoadingException wrapping the cause passed in and with the provided message.

Parameters:
message - the detail message
cause - the root cause

CacheLoadingException

public CacheLoadingException(java.lang.Throwable cause)
Constructs a CacheLoadingException wrapping the cause passed in.

Parameters:
cause - the root cause