Package org.ehcache.spi.loaderwriter
Class CacheLoadingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ehcache.spi.loaderwriter.CacheLoadingException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BulkCacheLoadingException
public class CacheLoadingException extends RuntimeException
Thrown by aCachewhen theCacheLoaderWriterfails when loading a value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheLoadingException()Constructs aCacheLoadingException.CacheLoadingException(String message)Constructs aCacheLoadingExceptionwith the provided message.CacheLoadingException(String message, Throwable cause)Constructs aCacheLoadingExceptionwrapping thecausepassed in and with the provided message.CacheLoadingException(Throwable cause)Constructs aCacheLoadingExceptionwrapping thecausepassed in.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CacheLoadingException
public CacheLoadingException()
Constructs aCacheLoadingException.
-
CacheLoadingException
public CacheLoadingException(String message)
Constructs aCacheLoadingExceptionwith the provided message.- Parameters:
message- the detail message
-
CacheLoadingException
public CacheLoadingException(String message, Throwable cause)
Constructs aCacheLoadingExceptionwrapping thecausepassed in and with the provided message.- Parameters:
message- the detail messagecause- the root cause
-
-