public final class IgnoreExceptionHandler extends java.lang.Object implements ExceptionHandler
Level.INFO| Constructor and Description |
|---|
IgnoreExceptionHandler() |
IgnoreExceptionHandler(java.util.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEventException(java.lang.Throwable ex,
long sequence,
java.lang.Object event)
Strategy for handling uncaught exceptions when processing an event.
If the strategy wishes to terminate further processing by the
BatchEventProcessor
then it should throw a RuntimeException. |
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() |
public IgnoreExceptionHandler()
public IgnoreExceptionHandler(java.util.logging.Logger logger)
public void handleEventException(java.lang.Throwable ex,
long sequence,
java.lang.Object event)
ExceptionHandlerBatchEventProcessor
then it should throw a RuntimeException.handleEventException in interface ExceptionHandlerex - the exception that propagated from the EventHandler.sequence - of the event which cause the exception.event - being processed when the exception occurred. This can be null.public void handleOnStartException(java.lang.Throwable ex)
ExceptionHandlerLifecycleAware.onStart()handleOnStartException in interface ExceptionHandlerex - throw during the starting process.public void handleOnShutdownException(java.lang.Throwable ex)
ExceptionHandlerLifecycleAware.onShutdown()handleOnShutdownException in interface ExceptionHandlerex - throw during the shutdown process.Copyright © 2011 - 2013 LMAX Ltd. All Rights Reserved.