diff --git a/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisCacheStoreFactory.java b/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisCacheStoreFactory.java index 79df6b2..bf28934 100644 --- a/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisCacheStoreFactory.java +++ b/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisCacheStoreFactory.java @@ -19,6 +19,7 @@ package net.lamgc.cgj.bot.cache.redis; import net.lamgc.cgj.bot.cache.*; import net.lamgc.cgj.bot.cache.convert.StringConverter; +import net.lamgc.cgj.bot.cache.exception.GetCacheStoreException; /** * @@ -33,12 +34,12 @@ public class RedisCacheStoreFactory implements CacheStoreFactory { @Override public ListCacheStore newListCacheStore(String identify, StringConverter converter) { - return null; + throw new GetCacheStoreException("No corresponding implementation"); } @Override public SetCacheStore newSetCacheStore(String identify, StringConverter converter) { - return null; + throw new GetCacheStoreException("No corresponding implementation"); } @Override