code: protected void dispatch(Object event, EventHandler wrapper) {
      try {
        wrapper.handleEvent(event);
      } catch (InvocationTargetException e) {
        throwRuntimeException(
            "Could not dispatch event: " + event.getClass() + " to handler " + wrapper, e);
      }
    }
docs: Dispatches {@code event} to the handler in {@code wrapper}.  This method is an appropriate override point for
  subclasses that wish to make event delivery asynchronous.
  
  @param event event to dispatch.
  @param wrapper wrapper that will call the handler.