Package org.apache.geode
Class GemFireCacheException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.GemFireCacheException
- All Implemented Interfaces:
Serializable
An
GemFireCacheException is used to wrap a CacheException. This is needed in
contexts that can not throw the cache exception directly because of it being a typed exception.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGemFireCacheException(String message, CacheException ex) Creates a newGemFireCacheException.Creates a newGemFireCacheException. -
Method Summary
Methods 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, toString
-
Constructor Details
-
GemFireCacheException
Creates a newGemFireCacheException.- Parameters:
message- the detail messageex- the cause
-
GemFireCacheException
Creates a newGemFireCacheException.- Parameters:
ex- the cause
-
-
Method Details
-
getCacheException
Gets the wrappedCacheException- Returns:
- the wrapped
CacheException
-