|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.repeat.exception.DefaultExceptionHandler
public class DefaultExceptionHandler
Default implementation of ExceptionHandler - just re-throws the exception it encounters.
| Constructor Summary | |
|---|---|
DefaultExceptionHandler()
|
|
| Method Summary | |
|---|---|
void |
handleException(RepeatContext context,
java.lang.Throwable throwable)
Re-throw the throwable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultExceptionHandler()
| Method Detail |
|---|
public void handleException(RepeatContext context,
java.lang.Throwable throwable)
throws java.lang.Throwable
handleException in interface ExceptionHandlercontext - the current RepeatContext. 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 exceptionExceptionHandler.handleException(RepeatContext,
Throwable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||