Class LogOrRethrowExceptionHandler

java.lang.Object
org.springframework.batch.repeat.exception.LogOrRethrowExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class LogOrRethrowExceptionHandler extends Object implements ExceptionHandler
Implementation of ExceptionHandler based on an Classifier. The classifier determines whether to log the exception or rethrow it. The keys in the classifier must be the same as the static enum in this class.
Author:
Dave Syer, Mahmoud Ben Hassine