private void addExceptions(ExecutableElement execElement, JsonObject obj) {
		JsonArray throwsArray = new JsonArray();
		for (TypeMirror thrownType : execElement.getThrownTypes()) {
			JsonObject throwObj = new JsonObject();
			String typeLong = getTypeLong(thrownType);
			String typeShort = getTypeShort(thrownType);
			throwObj.addProperty("type_long", typeLong);
			throwObj.addProperty("type_short", typeShort);
			String comment = "";
			DocCommentTree commentTree = docTrees.getDocCommentTree(execElement);
			if (commentTree != null) {
				for (DocTree blockTag : commentTree.getBlockTags()) {
					if (blockTag.getKind().equals(DocTree.Kind.THROWS)) {
						ThrowsTree throwsTree = (ThrowsTree) blockTag;
						if (throwsTree.getExceptionName().toString().equals(typeShort)) {
							comment = getComment(blockTag);
							break;
						}
					}
				}
			}
			throwObj.addProperty("comment", comment);
			throwsArray.add(throwObj);
		}
		obj.add("throws", throwsArray);
	}
Parses the given {@link ExecutableElement} for thrown exceptions and adds them to
the json object.

@param execElement the element to parse
@param obj the json object
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/json/JsonDoclet.java