Package org.ehcache.spi.loaderwriter
Class CacheWritingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ehcache.spi.loaderwriter.CacheWritingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BulkCacheWritingException
Thrown by a
Cache when the CacheLoaderWriter
fails when writing a value.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aCacheWritingException.CacheWritingException(String message) Constructs aCacheWritingExceptionwith the provided message.CacheWritingException(String message, Throwable cause) Constructs aCacheWritingExceptionwrapping thecausepassed in and with the provided message.CacheWritingException(Throwable cause) Constructs aCacheWritingExceptionwrapping 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
-
CacheWritingException
public CacheWritingException()Constructs aCacheWritingException. -
CacheWritingException
Constructs aCacheWritingExceptionwith the provided message.- Parameters:
message- the detail message
-
CacheWritingException
Constructs aCacheWritingExceptionwrapping thecausepassed in and with the provided message.- Parameters:
message- the detail messagecause- the root cause
-
CacheWritingException
Constructs aCacheWritingExceptionwrapping thecausepassed in.- Parameters:
cause- the root cause
-