code: public void process(EventPipeline eventPipeline, EventBase<?> event) {
          try {
              for (HandlerReference hdlr : this) {
                  try {
                      hdlr.invoke(event);
                      if (event.isStopped()) {
                          break;
                      }
                  } catch (AssertionError t) {
                      // JUnit support
                      CoreUtils.setAssertionError(t);
                      event.handlingError(eventPipeline, t);
                  } catch (Error e) { // NOPMD
                      // Wouldn't have caught it, if it was possible.
                      throw e;
                  } catch (Throwable t) { // NOPMD
                      // Errors have been rethrown, so this should work.
                      event.handlingError(eventPipeline, t);
                  }
              }
          } finally { // NOPMD
              try {
                  event.handled();
              } catch (AssertionError t) {
                  // JUnit support
                  CoreUtils.setAssertionError(t);
                  event.handlingError(eventPipeline, t);
              } catch (Error e) { // NOPMD
                  // Wouldn't have caught it, if it was possible.
                  throw e;
              } catch (Throwable t) { // NOPMD
                  // Errors have been rethrown, so this should work.
                  event.handlingError(eventPipeline, t);
              }
          }
      }
docs: Invoke all handlers with the given event as parameter.
  
  @param eventProcessor
  @param event the event