Exception thrown when the cache to access cannot be found.
123124125126127128129130131
} catch (Exception exception) { throw new CacheAccessException(exception); } if (cache == null) { throw new CacheNotFoundException(name); } return cache; }
108109110111112113114115116117
* @throws CacheNotFoundException if the cache does not exist. */ protected CompositeCache getCache(String name) { CompositeCache cache = cacheManager.getCache(name); if (cache == null) { throw new CacheNotFoundException(name); } return cache; }
153154155156157158159160161162
367368369370371372373374375376
catch (Exception exception) { throw new CacheAccessException(exception); } if (cache == null) { throw new CacheNotFoundException(name); } return cache; }