cacheConnection2.begin();
try {
cacheConnection2.removeCacheEntry(resource);
cacheConnection2.addCacheEntry(resource, newEntry);
cacheConnection2.commit();
log.error("refreshing the remote resource {} from the Linked Data Cloud failed ({})",resource,e.getMessage());
//log.info("exception was:",e);
return;
} catch (RepositoryException ex) {
log.error("repository error while refreshing the remote resource {} from the Linked Data Cloud", resource, ex);