@Override
    public void genExceptionTypeComment(StringBuffer buff, ExceptionType e) {
        genBeginSeperator(buff);
        buff.append(String.format("# ExceptionType:  %s\n", e.name));
        String description = e.description.replaceAll("[\\t\\n]", " ");
        description = description.replaceAll("\\s+", " ");
        description = WordUtils.wrap(description, 70, "\n#            ", false);
        buff.append("#            ").append(description).append("\n");
        if (e.parameter != null) {
            for (Parameter p : e.parameter) {
                String pdescription = p.description.replaceAll("[\\t\\n]", " ");
                pdescription = pdescription.replaceAll("\\s+", " ");
                pdescription = WordUtils.wrap(pdescription, 70,
                        "\n#            ", false);
                buff.append(String.format("# Parameter: %s of type %s\n",
                        p.name, p.type));
                buff.append(String.format("#            %s\n", pdescription));
                if (p.validValues != null && !p.validValues.value.isEmpty()) {
                    for (Value v : p.validValues.value) {
                        buff.append(String.format("# Value:     %s\n", v.name));
                        if (v.description != null
                                && !v.description.replaceAll("\\s+", "")
                                .equals("")) {
                            String vdescription = v.description.replaceAll(
                                    "[\\t\\n]", " ");
                            vdescription = vdescription.replaceAll("\\s+", " ");
                            vdescription = WordUtils.wrap(vdescription, 70,
                                    "\n#            ", false);
                            buff.append(String.format("#            %s\n",
                                    vdescription));
                        }
                    }
                }
            }
        }
        genEndSeperator(buff);
    }