org.ehcache.exceptions
Class CacheAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ehcache.exceptions.CacheAccessException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
org.ehcache.core.internal.resilience.RethrowingCacheAccessException

public class CacheAccessException
extends java.lang.Exception

Generic exception used when an internal operation fails on a Cache.

See Also:
Serialized Form

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

CacheAccessException

public CacheAccessException(java.lang.Throwable cause)
Creates a new exception wrapping the cause passed in.

Parameters:
cause - the cause of this exception

CacheAccessException

public CacheAccessException(java.lang.String message,
                            java.lang.Throwable cause)
Creates a new exception wrapping the cause passed in and with the provided message.

Parameters:
message - information about the exception
cause - the cause of this exception

CacheAccessException

public CacheAccessException(java.lang.String message)
Creates a new exception with the provided message.

Parameters:
message - information about the exception