Package org.apache.geode.cache
Class CacheLoaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.cache.CacheRuntimeException
org.apache.geode.cache.OperationAbortedException
org.apache.geode.cache.CacheLoaderException
- All Implemented Interfaces:
Serializable
Thrown from the
CacheLoader.load(org.apache.geode.cache.LoaderHelper<K, V>) method indicating that an error occurred when a
CacheLoader was attempting to load a value. This exception is propagated back to the caller of
Region.get.- Since:
- GemFire 3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofCacheLoaderException.Constructs an instance ofCacheLoaderExceptionwith the specified detail message.CacheLoaderException(String msg, Throwable cause) Constructs an instance ofCacheLoaderExceptionwith the specified detail message and cause.CacheLoaderException(Throwable cause) Constructs an instance ofCacheLoaderExceptionwith the specified cause. -
Method Summary
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toStringMethods inherited from class org.apache.geode.GemFireException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CacheLoaderException
public CacheLoaderException()Creates a new instance ofCacheLoaderException. -
CacheLoaderException
Constructs an instance ofCacheLoaderExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
CacheLoaderException
Constructs an instance ofCacheLoaderExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the causal Throwable
-
CacheLoaderException
Constructs an instance ofCacheLoaderExceptionwith the specified cause.- Parameters:
cause- the causal Throwable
-