diff --git a/source/java/org/alfresco/repo/cache/EhCacheAdapter.java b/source/java/org/alfresco/repo/cache/EhCacheAdapter.java index 31c20bad4c..68e711575c 100644 --- a/source/java/org/alfresco/repo/cache/EhCacheAdapter.java +++ b/source/java/org/alfresco/repo/cache/EhCacheAdapter.java @@ -88,6 +88,13 @@ public class EhCacheAdapter return null; } } + catch (IllegalStateException ie) + { + throw new AlfrescoRuntimeException("Failed to get from EhCache as state invalid: \n" + + " state: " + cache.getStatus() + "\n" + + " key: " + key, + ie); + } catch (CacheException e) { throw new AlfrescoRuntimeException("Failed to get from EhCache: \n" +