code: @Override
    @SuppressWarnings("checkstyle:illegalcatch")
    public void onNext(final T value) {
      beforeOnNext();
      try {
        handler.onNext(value);
      } catch (final Throwable t) {
        if (errorHandler != null) {
          errorHandler.onNext(t);
        } else {
          LOG.log(Level.SEVERE, name + " Exception from event handler", t);
          throw t;
        }
      }
      afterOnNext();
    }
docs: Invokes the handler for the event.
  
  @param value the event