code: @Override
      public Collection<Event> findEvents(SearchCriteria criteria) {
          if (criteria == null) {
              throw new IllegalArgumentException("criteria must be non-null");
          }
  
          try {
              return eventRepository.findEventsBySearchCriteria(criteria);
          } catch (IOException e) {
              throw new RuntimeException(e);
          }
      }
docs: {@inheritDoc}