diff --git a/gradle.properties b/gradle.properties index 6545589b..91af5340 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ antlrVersion=2.7.7 aspectjVersion=1.8.9 assertjVersion=3.6.2 cdiVersion=1.0 -gemfireVersion=9.0.4 +gemfireVersion=9.1.0 hamcrestVersion=1.3 jacksonVersion=2.8.6 junitVersion=4.12 diff --git a/pom.xml b/pom.xml index e4b024e1..6a6e257e 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ 2.7.7 1.3.2 3.6.2 - 9.0.4 + 9.1.0 2.0.2 1.01 2.5 diff --git a/src/main/java/org/springframework/data/gemfire/GemfireCacheUtils.java b/src/main/java/org/springframework/data/gemfire/GemfireCacheUtils.java index 93aab126..22316b30 100644 --- a/src/main/java/org/springframework/data/gemfire/GemfireCacheUtils.java +++ b/src/main/java/org/springframework/data/gemfire/GemfireCacheUtils.java @@ -26,7 +26,6 @@ import org.apache.geode.GemFireIOException; import org.apache.geode.IncompatibleSystemException; import org.apache.geode.InternalGemFireException; import org.apache.geode.InvalidValueException; -import org.apache.geode.LicenseException; import org.apache.geode.NoSystemException; import org.apache.geode.SystemConnectException; import org.apache.geode.SystemIsRunningException; @@ -194,9 +193,6 @@ public abstract class GemfireCacheUtils { if (ex instanceof CopyException) { return new GemfireSystemException(ex); } - if (ex instanceof org.apache.geode.cache.EntryNotFoundInRegion) { - return new DataRetrievalFailureException(ex.getMessage(), ex); - } if (ex instanceof FunctionException) { return new InvalidDataAccessApiUsageException(ex.getMessage(), ex); } @@ -224,9 +220,6 @@ public abstract class GemfireCacheUtils { if (ex instanceof LeaseExpiredException) { return new PessimisticLockingFailureException(ex.getMessage(), ex); } - if (ex instanceof LicenseException) { - return new GemfireSystemException(ex); - } if (ex instanceof NoSystemException) { return new GemfireSystemException(ex); }