code: public void addException(Exception exception) {
          LOGGER.log(Level.FINE, "Adding exception", exception);
          exceptionsToPublish.add(exception);
      }
docs: Add {@link Exception} to the collector.
  
  @param exception to be collected.