public interface ErrorHandler
| Modifier and Type | Method and Description | 
|---|---|
void | 
handleError(ErrorContext errorContext)
Handle an error raised during event processing. 
 | 
void handleError(ErrorContext errorContext) throws Exception
 The error handler has the option to simply log or ignore the error. Depending on the type of EventProcessor this
 will put an end to the processing of any further events (in case of a TrackingEventProcessor) or simply
 skip over the list of given failedEvents.
 
Note that although the UnitOfWork and hence any related database transactions have been rolled back when the error handler is invoked, the processing of one or more of the failedEvents may in fact have caused other side effects which could not be reverted.
errorContext - Contextual information describing the errorException - if the handler decides to propagate the errorCopyright © 2010–2018. All rights reserved.