org.ehcache.core.exceptions
Class CachePassThroughException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ehcache.core.exceptions.CachePassThroughException
- All Implemented Interfaces:
- java.io.Serializable
public class CachePassThroughException
- extends java.lang.RuntimeException
A generic wrapper runtime exception that will not be caught and
handled at the store level. This wrapper can be used to leak any
runtime exceptions that you don't want to be caught at the store level.
- See Also:
- Serialized Form
Constructor Summary |
CachePassThroughException(java.lang.String message,
java.lang.Throwable cause)
Creates an exception with the provided message and cause. |
CachePassThroughException(java.lang.Throwable cause)
Creates an exception with the provided cause. |
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 |
CachePassThroughException
public CachePassThroughException(java.lang.String message,
java.lang.Throwable cause)
- Creates an exception with the provided message and cause.
- Parameters:
message
- information about the exceptioncause
- the cause of this exception
CachePassThroughException
public CachePassThroughException(java.lang.Throwable cause)
- Creates an exception with the provided cause.
- Parameters:
cause
- the cause of this exception
handleRuntimeException
public static void handleRuntimeException(java.lang.RuntimeException re)
throws CacheAccessException
- Throws:
CacheAccessException