public class GemFireCacheException extends GemFireException
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.Constructor and Description |
---|
GemFireCacheException(CacheException ex)
Creates a new
GemFireCacheException . |
GemFireCacheException(String message,
CacheException ex)
Creates a new
GemFireCacheException . |
Modifier and Type | Method and Description |
---|---|
CacheException |
getCacheException()
Gets the wrapped
CacheException |
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public GemFireCacheException(String message, CacheException ex)
GemFireCacheException
.message
- the detail messageex
- the causepublic GemFireCacheException(CacheException ex)
GemFireCacheException
.ex
- the causepublic CacheException getCacheException()
CacheException
CacheException