Package org.springframework.batch.core.step

Examples of org.springframework.batch.core.step.FatalStepExecutionException


        catch (Exception e) {
          // If we get to here there was a problem saving the step
          // execution and we have to fail.
          String msg = "JobRepository failure forcing rollback";
          logger.error(msg, e);
          throw new FatalStepExecutionException(msg, e);
        }
      }
      catch (Error e) {
        logger.debug("Rollback for Error: " + e.getClass().getName() + ": " + e.getMessage());
        rollback(stepExecution);
View Full Code Here


    public void beforeChunk(ChunkContext context) {
      try {
        chunkListener.beforeChunk(context);
      }
      catch (Throwable t) {
        throw new FatalStepExecutionException("ChunkListener threw exception, rethrowing as fatal", t);
      }
    }
View Full Code Here

    public void afterChunk(ChunkContext context) {
      try {
        chunkListener.afterChunk(context);
      }
      catch (Throwable t) {
        throw new FatalStepExecutionException("ChunkListener threw exception, rethrowing as fatal", t);
      }
    }
View Full Code Here

    public void afterChunkError(ChunkContext context) {
      try {
        chunkListener.afterChunkError(context);
      }
      catch (Throwable t) {
        throw new FatalStepExecutionException("ChunkListener threw exception, rethrowing as fatal", t);
      }
    }
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.step.FatalStepExecutionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.