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:
java.io.Serializable
- Direct Known Subclasses:
BulkCacheLoadingException
public class CacheLoadingException extends java.lang.RuntimeExceptionThrown by aCachewhen theCacheLoaderWriterfails when loading a value.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description CacheLoadingException()Constructs aCacheLoadingException.CacheLoadingException(java.lang.String message)Constructs aCacheLoadingExceptionwith the provided message.CacheLoadingException(java.lang.String message, java.lang.Throwable cause)Constructs aCacheLoadingExceptionwrapping thecausepassed in and with the provided message.CacheLoadingException(java.lang.Throwable cause)Constructs aCacheLoadingExceptionwrapping thecausepassed in.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CacheLoadingException
public CacheLoadingException()
Constructs aCacheLoadingException.
-
CacheLoadingException
public CacheLoadingException(java.lang.String message)
Constructs aCacheLoadingExceptionwith the provided message.- Parameters:
message- the detail message
-
CacheLoadingException
public CacheLoadingException(java.lang.String message, java.lang.Throwable cause)Constructs aCacheLoadingExceptionwrapping thecausepassed in and with the provided message.- Parameters:
message- the detail messagecause- the root cause
-
CacheLoadingException
public CacheLoadingException(java.lang.Throwable cause)
Constructs aCacheLoadingExceptionwrapping thecausepassed in.- Parameters:
cause- the root cause
-
-