Gemfire JavaDocs_test
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:
java.io.Serializable
public class GemFireCacheException extends GemFireException
AnGemFireCacheException
is used to wrap aCacheException
. This is needed in contexts that can not throw the cache exception directly because of it being a typed exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GemFireCacheException(java.lang.String message, CacheException ex)
Creates a newGemFireCacheException
.GemFireCacheException(CacheException ex)
Creates a newGemFireCacheException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheException
getCacheException()
Gets the wrappedCacheException
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
GemFireCacheException
public GemFireCacheException(java.lang.String message, CacheException ex)
Creates a newGemFireCacheException
.- Parameters:
message
- the detail messageex
- the cause
-
GemFireCacheException
public GemFireCacheException(CacheException ex)
Creates a newGemFireCacheException
.- Parameters:
ex
- the cause
-
-
Method Detail
-
getCacheException
public CacheException getCacheException()
Gets the wrappedCacheException
- Returns:
- the wrapped
CacheException
-
-