Fixed - JCachingProvider shouldn't depend on class from Jackson 2.12.x

pull/3619/head
Nikita Koksharov 4 years ago
parent e6e32a090a
commit e8394451c7

@ -15,7 +15,7 @@
*/
package org.redisson.jcache;
import com.fasterxml.jackson.core.JacksonException;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.redisson.Redisson;
import org.redisson.config.Config;
@ -103,7 +103,7 @@ public class JCachingProvider implements CachingProvider {
} else {
throw new FileNotFoundException("/redisson-jcache.yaml");
}
} catch (JacksonException e) {
} catch (JsonProcessingException e) {
throw new CacheException(e);
} catch (IOException e) {
try {

Loading…
Cancel
Save