类 DefaultExceptionHandler
- java.lang.Object
- org.springframework.batch.repeat.exception.DefaultExceptionHandler
- 所有已实现的接口:
ExceptionHandler
public class DefaultExceptionHandler extends java.lang.Object implements ExceptionHandler
Default implementation ofExceptionHandler
- just re-throws the exception it encounters.- 作者:
- Dave Syer
构造器概要
构造器 构造器 说明 DefaultExceptionHandler()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
handleException(RepeatContext context, java.lang.Throwable throwable)
Re-throw the throwable.
构造器详细资料
DefaultExceptionHandler
public DefaultExceptionHandler()
方法详细资料
handleException
public void handleException(RepeatContext context, java.lang.Throwable throwable) throws java.lang.Throwable
Re-throw the throwable.- 指定者:
handleException
在接口中ExceptionHandler
- 参数:
context
- the currentRepeatContext
. Can be used to store state (via attributes), for example to count the number of occurrences of a particular exception type and implement a threshold policy.throwable
- an exception.- 抛出:
java.lang.Throwable
- implementations are free to re-throw the exception- 另请参阅:
ExceptionHandler.handleException(RepeatContext, Throwable)