Exception thrown when the cache provider cannot be accessed.
273274275276277278279280
try { cache.put(newCacheElement); } catch (Exception exception) { throw new CacheAccessException(exception); } }
302303304305306307308309
try { cache.remove(key); } catch (Exception exception) { throw new CacheAccessException(exception); } }
363364365366367368369370371372373
logger.debug("No EhCache exists for '" + name + "' and createMissingCaches is false"); } } } catch (Exception exception) { throw new CacheAccessException(exception); } if (cache == null) { throw new CacheNotFoundException(name); }