code: private Content inheritThrowsDocumentation(Doc holder,
              Type[] declaredExceptionTypes, Set<String> alreadyDocumented,
              TagletWriter writer) {
          Content result = writer.getOutputInstance();
          if (holder instanceof MethodDoc) {
              Set<Tag> declaredExceptionTags = new LinkedHashSet<>();
              for (Type declaredExceptionType : declaredExceptionTypes) {
                  DocFinder.Output inheritedDoc =
                          DocFinder.search(writer.configuration(), new DocFinder.Input((MethodDoc) holder, this,
                                                               declaredExceptionType.typeName()));
                  if (inheritedDoc.tagList.size() == 0) {
                      inheritedDoc = DocFinder.search(writer.configuration(), new DocFinder.Input(
                              (MethodDoc) holder, this,
                              declaredExceptionType.qualifiedTypeName()));
                  }
                  declaredExceptionTags.addAll(inheritedDoc.tagList);
              }
              result.addContent(throwsTagsOutput(
                  declaredExceptionTags.toArray(new ThrowsTag[] {}),
                  writer, alreadyDocumented, false));
          }
          return result;
      }
docs: Inherit throws documentation for exceptions that were declared but not
  documented.