public void addDiagnosticsExceptionEvents(Collection<DiagnosticsExceptionEvent> exceptionList) {
    if (exceptionList != null && !exceptionList.isEmpty()) {
      addToMetricsMessage(SAMZACONTAINER_METRICS_GROUP_NAME, EXCEPTION_LIST_METRIC_NAME, exceptionList);
    }
  }
Add a list of {@link DiagnosticsExceptionEvent}s to the message.
@param exceptionList the list to add.
samza-core/src/main/scala/org/apache/samza/diagnostics/DiagnosticsStreamMessage.java