Boolean () { checkNonCancellableSection(); try { MapReduceIndex.this.updateWithMap(myUpdateData); } catch (StorageException | ProcessCanceledException ex) { String message = "An exception during updateWithMap(). Index " + myIndexId.getName() + " will be rebuilt."; //noinspection InstanceofCatchParameter if (ex instanceof ProcessCanceledException) { LOG.error(message, ex); } else { if (IndexDebugProperties.IS_UNIT_TEST_MODE) { LOG.error(message, ex); } else { LOG.info(message, ex); } } MapReduceIndex.this.requestRebuild(ex); return false; } return true; }