code: @Override
      public void onWriteError(Exception exception, List<? extends ContentProperties> items) {
          log.error("firing onWriteError: currrently not handling: exception message=" + exception.getMessage(),
                    exception);
          for (ContentProperties props : items) {
              addError("item failed: " + props + "; exception=" + exception.getMessage());
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  org.springframework.batch.core.ItemWriteListener#onWriteError(java.lang
  .Exception, java.util.List)