code: @SuppressWarnings("rawtypes") // our super class declares a bare Class
      public Object methodException (Class clazz, String method, Exception e)
          throws Exception
      {
          log.warning("Exception", "class", clazz.getName(), "method", method, e);
          return "";
      }
docs: Called when a method throws an exception during template evaluation.