} catch (JobInterruptedException e) {
log.error("error executing step 1", e);
stepExecution.setStatus(BatchStatus.STOPPED);
} catch (Throwable e) {
log.error("error executing step 2", e);
stepExecution.addFailureException(e);
stepExecution.setStatus(BatchStatus.FAILED);
}
if(log.isDebugEnabled()) {
log.info("Finished remote step stepExecution=[" + stepExecution + "]");