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
public class CacheWritingException extends RuntimeException
Thrown by aCachewhen theCacheLoaderWriterfails when writing a value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheWritingException()Constructs 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 Detail
-
CacheWritingException
public CacheWritingException()
Constructs aCacheWritingException.
-
CacheWritingException
public CacheWritingException(String message)
Constructs aCacheWritingExceptionwith the provided message.- Parameters:
message- the detail message
-
CacheWritingException
public CacheWritingException(String message, Throwable cause)
Constructs aCacheWritingExceptionwrapping thecausepassed in and with the provided message.- Parameters:
message- the detail messagecause- the root cause
-
-