public Content throwsTagOutput(Element element, DocTree throwsTag) {
        ContentBuilder body = new ContentBuilder();
        CommentHelper ch = utils.getCommentHelper(element);
        Element exception = ch.getException(configuration, throwsTag);
        Content excName;
        if (exception == null) {
            excName = new RawHtml(ch.getExceptionName(throwsTag).toString());
        } else if (exception.asType() == null) {
            excName = new RawHtml(utils.getFullyQualifiedName(exception));
        } else {
            LinkInfoImpl link = new LinkInfoImpl(configuration, LinkInfoImpl.Kind.MEMBER,
                                                 exception.asType());
            link.excludeTypeBounds = true;
            excName = htmlWriter.getLink(link);
        }
        body.addContent(HtmlTree.CODE(excName));
        List<? extends DocTree> description = ch.getDescription(configuration, throwsTag);
        Content desc = htmlWriter.commentTagsToContent(throwsTag, element, description, false);
        if (desc != null && !desc.isEmpty()) {
            body.addContent(" - ");
            body.addContent(desc);
        }
        HtmlTree result = HtmlTree.DD(body);
        return result;
    }
public Content throwsTagOutput ( Element element , DocTree throwsTag ) { ContentBuilder body = new ContentBuilder ( ) ; CommentHelper ch = utils . getCommentHelper ( element ) ; Element exception = ch . getException ( configuration , throwsTag ) ; Content excName ; if ( exception == null ) { excName = new RawHtml ( ch . getExceptionName ( throwsTag ) . toString ( ) ) ; } else if ( exception . asType ( ) == null ) { excName = new RawHtml ( utils . getFullyQualifiedName ( exception ) ) ; } else { LinkInfoImpl link = new LinkInfoImpl ( configuration , LinkInfoImpl . Kind . MEMBER , exception . asType ( ) ) ; link . excludeTypeBounds = true ; excName = htmlWriter . getLink ( link ) ; } body . addContent ( HtmlTree . CODE ( excName ) ) ; List < ? extends DocTree > description = ch . getDescription ( configuration , throwsTag ) ; Content desc = htmlWriter . commentTagsToContent ( throwsTag , element , description , false ) ; if ( desc != null && ! desc . isEmpty ( ) ) { body . addContent ( " - " ) ; body . addContent ( desc ) ; } HtmlTree result = HtmlTree . DD ( body ) ; return result ; }
{@inheritDoc}