@Override public void run() { try { saveFSImage(context, sd, nnf); } catch (SaveNamespaceCancelledException snce) { LOG.info("Cancelled image saving for " + sd.getRoot() + ": " + snce.getMessage()); // don't report an error on the storage dir! } catch (Throwable t) { LOG.error("Unable to save image for " + sd.getRoot(), t); context.reportErrorOnStorageDirectory(sd); } }
public void run() { try { InjectionHandler .processEvent(InjectionEvent.FSIMAGE_STARTING_SAVER_THREAD); saveCurrent(context, sd, forceUncompressed); } catch (SaveNamespaceCancelledException ex) { LOG.warn("FSImageSaver: - cancelling operation"); } catch (IOException ex) { LOG.error("Unable to write image to " + imageFile.getAbsolutePath()); context.reportErrorOnStorageDirectory(sd); } } }
@Override public void run() { try { saveFSImage(context, sd, nnf); } catch (SaveNamespaceCancelledException snce) { LOG.info("Cancelled image saving for " + sd.getRoot() + ": " + snce.getMessage()); // don't report an error on the storage dir! } catch (Throwable t) { LOG.error("Unable to save image for " + sd.getRoot(), t); context.reportErrorOnStorageDirectory(sd); } }
@Override public void run() { try { saveFSImage(context, sd, nnf); } catch (SaveNamespaceCancelledException snce) { LOG.info("Cancelled image saving for " + sd.getRoot() + ": " + snce.getMessage()); // don't report an error on the storage dir! } catch (Throwable t) { LOG.error("Unable to save image for " + sd.getRoot(), t); context.reportErrorOnStorageDirectory(sd); } }
} catch (Exception e) { LOG.error("Error upgrading " + sd.getRoot(), e); saveNamespaceContext.reportErrorOnStorageDirectory(sd); continue; } catch (IOException ioe) { LOG.error("Error upgrading " + sd.getRoot(), ioe); saveNamespaceContext.reportErrorOnStorageDirectory(sd); continue;