org.ehcache.exceptions
Class RethrowingCacheAccessException

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

Deprecated. This mechanism is a stop-gap solution until ResilienceStrategy instances can be plugged-in.

@Deprecated
public class RethrowingCacheAccessException
extends CacheAccessException

Generic exception used when an internal operation fails on a Cache but shouldn't be handled by a resilience strategy but rather rethrown to the caller.

See Also:
Serialized Form

Constructor Summary
RethrowingCacheAccessException(java.lang.RuntimeException cause)
          Deprecated. Create an instance of RethrowingCacheAccessException.
 
Method Summary
 java.lang.RuntimeException getCause()
          Deprecated.  
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

RethrowingCacheAccessException

public RethrowingCacheAccessException(java.lang.RuntimeException cause)
Deprecated. 
Create an instance of RethrowingCacheAccessException.

Parameters:
cause - the cause RuntimeException that will be rethrown.
Method Detail

getCause

public java.lang.RuntimeException getCause()
Deprecated. 
Overrides:
getCause in class java.lang.Throwable