Exception thrown when the cache provider cannot be accessed.
119120121122123124125126127128129
if (cache == null) { cache = (IMap) CacheFinder.find(name); cachesHolder.put(name, cache); } } catch (Exception exception) { throw new CacheAccessException(exception); } if (cache == null) { throw new CacheNotFoundException(name); }
162163164165166167168169170171172
cache.clear(); } } catch (CacheException exception) { cacheException = exception; } catch (Exception exception) { cacheException = new CacheAccessException(exception); } if (cacheException != null) { throw cacheException; }
197198199200201202203204205
cachedObject = cache.get(key, waitForResponse.longValue()); } else { cachedObject = cache.get(key); } } catch (Exception exception) { throw new CacheAccessException(exception); } return cachedObject; }
229230231232233234235236
cache.put(key, obj, timeToLive.longValue()); } else { cache.put(key, obj); } } catch (Exception exception) { throw new CacheAccessException(exception); } }
252253254255256257258259
IMap cache = getCache(model); try { cache.remove(key); } catch (Exception exception) { throw new CacheAccessException(exception); } }
186187188189190191192193
} else { cache.removeAll(); } } } catch (Exception exception) { throw new CacheAccessException(exception); } }
219220221222223224225226227228
if (cacheElement != null) { cachedObject = cacheElement.getVal(); } } catch (Exception exception) { throw new CacheAccessException(exception); } return cachedObject; }
259260261262263264265266
try { cache.update(newCacheElement); } catch (Exception exception) { throw new CacheAccessException(exception); } }
288289290291292293294295
try { cache.remove(newKey); } catch (Exception exception) { throw new CacheAccessException(exception); } }
149150151152153154155156157158159
try { if (cacheManager.cacheExists(name)) { cache = cacheManager.getCache(name); } } catch (Exception exception) { throw new CacheAccessException(exception); } if (cache == null) { throw new CacheNotFoundException(name); }