@Test public void shouldHandleAndIgnoreException() { final Exception ex = new Exception(); final TestEvent event = new TestEvent(); ExceptionHandler<Object> exceptionHandler = new IgnoreExceptionHandler(); exceptionHandler.handleEventException(ex, 0L, event); }
@Override public void handleEventException(final Throwable ex, final long sequence, final Object event) { logger.log(Level.INFO, "Exception processing: " + sequence + " " + event, ex); }
IgnoreExceptionHandler implements ExceptionHandler<Object> { @Override public void handleEventException(final Throwable ex, final long sequence, final Object event) { logger.log(Level.INFO, "Exception processing: " + sequence + " " + event, ex); } }
IgnoreExceptionHandler implements ExceptionHandler<Object> { @Override public void handleEventException(final Throwable ex, final long sequence, final Object event) { logger.log(Level.INFO, "Exception processing: " + sequence + " " + event, ex); } IgnoreExceptionHandler();  IgnoreExceptionHandler(final Logger logger); }
IgnoreExceptionHandler implements ExceptionHandler<Object> { @Override public void handleEventException(final Throwable ex, final long sequence, final Object event) { logger.log(Level.INFO, "Exception processing: " + sequence + " " + event, ex); } IgnoreExceptionHandler();  IgnoreExceptionHandler(final Logger logger); @Override void handleEventException(final Throwable ex, final long sequence, final Object event); @Override void handleOnStartException(final Throwable ex); @Override void handleOnShutdownException(final Throwable ex); }
IgnoreExceptionHandler implements ExceptionHandler<Object> { @Override public void handleEventException(final Throwable ex, final long sequence, final Object event) { logger.log(Level.INFO, "Exception processing: " + sequence + " " + event, ex); } IgnoreExceptionHandler();  IgnoreExceptionHandler(final Logger logger); @Override void handleEventException(final Throwable ex, final long sequence, final Object event); @Override void handleOnStartException(final Throwable ex); @Override void handleOnShutdownException(final Throwable ex);  }