code: public void exception(Throwable e) {
      final String msg = e.getMessage();
      log(Level.SEVERE, msg != null ? msg : "An exception occurred.", e);
    }
docs: Log an exception at the 'severe' level.
  
  @param e Exception