|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionHandler
Callback handler for uncaught exceptions in the event processing cycle of the BatchEventProcessor
| Method Summary | |
|---|---|
void |
handleEventException(java.lang.Throwable ex,
long sequence,
java.lang.Object event)
Strategy for handling uncaught exceptions when processing an event. |
void |
handleOnShutdownException(java.lang.Throwable ex)
Callback to notify of an exception during LifecycleAware.onShutdown() |
void |
handleOnStartException(java.lang.Throwable ex)
Callback to notify of an exception during LifecycleAware.onStart() |
| Method Detail |
|---|
void handleEventException(java.lang.Throwable ex,
long sequence,
java.lang.Object event)
BatchEventProcessor
then is should throw a RuntimeException.
ex - the exception that propagated from the EventHandler.sequence - of the event which cause the exception.event - being processed when the exception occurred.void handleOnStartException(java.lang.Throwable ex)
LifecycleAware.onStart()
ex - throw during the starting process.void handleOnShutdownException(java.lang.Throwable ex)
LifecycleAware.onShutdown()
ex - throw during the shutdown process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||