code: public void buildErrorSummary(XMLNode node, Content packageSummaryContentTree) {
          String errorTableSummary =
                  configuration.getText("doclet.Member_Table_Summary",
                  configuration.getText("doclet.Error_Summary"),
                  configuration.getText("doclet.errors"));
          String[] errorTableHeader = new String[] {
              configuration.getText("doclet.Error"),
              configuration.getText("doclet.Description")
          };
          ClassDoc[] errors = pkg.errors();
          if (errors.length > 0) {
              profileWriter.addClassesSummary(
                      errors,
                      configuration.getText("doclet.Error_Summary"),
                      errorTableSummary, errorTableHeader, packageSummaryContentTree);
          }
      }
docs: Build the summary for the errors in the package.
  
  @param node the XML element that specifies which components to document
  @param packageSummaryContentTree the tree to which the error summary will
  be added