public abstract class GemfireCacheUtils extends Object
Constructor and Description |
---|
GemfireCacheUtils() |
Modifier and Type | Method and Description |
---|---|
static DataAccessException |
convertGemfireAccessException(org.apache.geode.GemFireCheckedException cause)
Converts the given (checked) Gemfire exception to an appropriate one from the
org.springframework.dao hierarchy. |
static DataAccessException |
convertGemfireAccessException(org.apache.geode.GemFireException cause)
Converts the given (unchecked) Gemfire exception to an appropriate one from the
org.springframework.dao hierarchy. |
static DataAccessException |
convertGemfireAccessException(org.apache.geode.cache.query.IndexInvalidException cause)
Converts the given (unchecked) Gemfire exception to an appropriate one from the
org.springframework.dao hierarchy. |
static DataAccessException |
convertGemfireAccessException(org.apache.geode.cache.query.QueryInvalidException cause)
Converts the given (unchecked) Gemfire exception to an appropriate one from the
org.springframework.dao hierarchy. |
public static DataAccessException convertGemfireAccessException(org.apache.geode.GemFireException cause)
org.springframework.dao
hierarchy.cause
- Gemfire unchecked exceptionpublic static DataAccessException convertGemfireAccessException(org.apache.geode.GemFireCheckedException cause)
org.springframework.dao
hierarchy.cause
- Gemfire unchecked exceptionpublic static DataAccessException convertGemfireAccessException(org.apache.geode.cache.query.IndexInvalidException cause)
org.springframework.dao
hierarchy. This method exists to handle backwards compatibility
for exceptions that had their parents changed in Pivotal GemFire 6.5.cause
- Gemfire unchecked exceptionpublic static DataAccessException convertGemfireAccessException(org.apache.geode.cache.query.QueryInvalidException cause)
org.springframework.dao
hierarchy. This method exists to handle backwards compatibility
for exceptions that had their parents changed in Pivotal GemFire 6.5.cause
- Gemfire unchecked exceptionCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.