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
Thrown by a
Cache when the CacheLoaderWriter
fails when loading a value.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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 Details
-
CacheLoadingException
public CacheLoadingException()Constructs aCacheLoadingException. -
CacheLoadingException
Constructs aCacheLoadingExceptionwith the provided message.- Parameters:
message- the detail message
-
CacheLoadingException
Constructs aCacheLoadingExceptionwrapping thecausepassed in and with the provided message.- Parameters:
message- the detail messagecause- the root cause
-
CacheLoadingException
Constructs aCacheLoadingExceptionwrapping thecausepassed in.- Parameters:
cause- the root cause
-