public abstract class GemfireCacheUtils
extends java.lang.Object
Constructor and Description |
---|
GemfireCacheUtils() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.dao.DataAccessException |
convertGemfireAccessException(org.apache.geode.GemFireCheckedException cause)
Converts the given (checked) Gemfire exception to an appropriate one from the
org.springframework.dao hierarchy. |
static org.springframework.dao.DataAccessException |
convertGemfireAccessException(org.apache.geode.GemFireException cause)
Converts the given (unchecked) Gemfire exception to an appropriate one from the
org.springframework.dao hierarchy. |
static org.springframework.dao.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 org.springframework.dao.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 org.springframework.dao.DataAccessException convertGemfireAccessException(org.apache.geode.GemFireException cause)
org.springframework.dao
hierarchy.cause
- Gemfire unchecked exceptionpublic static org.springframework.dao.DataAccessException convertGemfireAccessException(org.apache.geode.GemFireCheckedException cause)
org.springframework.dao
hierarchy.cause
- Gemfire unchecked exceptionpublic static org.springframework.dao.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 GemFire 6.5.cause
- Gemfire unchecked exceptionpublic static org.springframework.dao.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 GemFire 6.5.cause
- Gemfire unchecked exception