code: @Override
      public void onWriteError(Exception ex, List<? extends File> items) {
          log.error("Error writing item(s): " + items.toString(), ex);
      }
docs: /*
  (non-Javadoc)
  
  @see
  org.springframework.batch.core.ItemWriteListener#onWriteError(java.lang.
  Exception, java.util.List)