/**
  * Stores an exception that should be reported to the user. Only store the first copy of an
  * exception; after that increment the count of times that it occurred.
  *
  * @param t exception to store, not null
  */
 public void exception(final Throwable t) {
   s_logger.debug("Caught exception", t);
   if (_exceptions == null) {
     _exceptions = new HashMap<ExceptionWrapper, ExceptionWrapper>();
   }
   ExceptionWrapper.createAndPut(t, _exceptions);
 }