code: private String printError(Throwable t) {
  
          StringBuffer result = new StringBuffer(1024);
          result.append("/*\n");
          result.append(CmsStringUtil.escapeHtml(t.getMessage()));
          result.append("\n*/\n");
          result.append("function init() {\n");
          result.append("}\n");
          return result.toString();
      }
docs: Creates error information output.<p>
  
  @param t an error that occurred
  @return error information output