Exception thrown when the cache provider cannot be accessed.
215216217218219220221222223224225
cache.removeAll(); } } catch (CacheException exception) { cacheException = exception; } catch (Exception exception) { cacheException = new CacheAccessException(exception); } if (cacheException != null) { throw cacheException; }
248249250251252253254255256257
if (cacheElement != null) { cachedObject = cacheElement.getValue(); } } catch (Exception exception) { throw new CacheAccessException(exception); } return cachedObject; }
127128129130131132133134135
try { for (int i = 0; i < fqnCount; i++) { cacheManager.remove(nodeFqns[i]); } } catch (Exception exception) { throw new CacheAccessException(exception); } } }
278279280281282283284285
try { cache.put(newCacheElement); } catch (Exception exception) { throw new CacheAccessException(exception); } }
151152153154155156157158159
Object cachedObject = null; try { cachedObject = cacheManager.get(cachingModel.getNode(), key); } catch (Exception exception) { throw new CacheAccessException(exception); } return cachedObject; }
176177178179180181182183
JbossCacheCachingModel cachingModel = (JbossCacheCachingModel) model; try { cacheManager.put(cachingModel.getNode(), key, obj); } catch (Exception exception) { throw new CacheAccessException(exception); } }
302303304305306307308309
try { cache.remove(key); } catch (Exception exception) { throw new CacheAccessException(exception); } }
197198199200201202203204
JbossCacheCachingModel cachingModel = (JbossCacheCachingModel) model; try { cacheManager.remove(cachingModel.getNode(), key); } catch (Exception exception) { throw new CacheAccessException(exception); } }
197198199200201202203204205206207
} catch (CacheException exception) { cacheException = exception; } catch (Exception exception) { cacheException = new CacheAccessException(exception); } if (cacheException != null) { throw cacheException; }
235236237238239240241242243244
if (cacheElement != null) { cachedObject = cacheElement.getObjectValue(); } } catch (Exception exception) { throw new CacheAccessException(exception); } return cachedObject; }