Class ExceptionHandlerWrapper<T>

    • Constructor Detail

      • ExceptionHandlerWrapper

        public ExceptionHandlerWrapper()
    • Method Detail

      • handleEventException

        public void handleEventException​(java.lang.Throwable ex,
                                         long sequence,
                                         T event)
        Description copied from interface: ExceptionHandler

        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.

        Specified by:
        handleEventException in interface ExceptionHandler<T>
        Parameters:
        ex - 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.