- 所有超级接口:
-
BlockTagTree
,DocTree
用于
@exception
或@throws
块标签的树节点。@exception
是@throws
的同义词。
@exception class-name description @throws class-name description
- 自Java版本:
- 1.8
-
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.doctree.DocTree
DocTree.Kind
-
Method Summary
Modifier and TypeMethodDescription返回异常可能被抛出的原因的描述。返回正在记录的异常的名称。Methods declared in interface com.sun.source.doctree.BlockTagTree
getTagName
-
Method Details
-
getExceptionName
ReferenceTree getExceptionName()返回正在记录的异常的名称。- 返回:
- 异常的名称
-
getDescription
返回异常可能被抛出的原因的描述。- 返回:
- 描述
-