APIdia Launch Partner
Top Description Methods
com.sun.source.doctree

public Interface ThrowsTree

extends BlockTagTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCThrows
Imports
java.util.List

A tree node for an @exception or @throws block tag. @exception is a synonym for @throws.
   @exception class-name description
   @throws class-name description
Since
1.8

Method Summary

Modifier and TypeMethod and Description
public List<? extends DocTree>

Returns:

the description
getDescription
()

Returns a description of the reasons why the exception may be thrown.

public ReferenceTree

Returns:

the name of the exception
getExceptionName
()

Returns the name of the exception being documented.

Inherited from com.sun.source.doctree.BlockTagTree:
getTagName

Method Detail

getDescriptionback to summary
public List<? extends DocTree> getDescription()

Returns a description of the reasons why the exception may be thrown.

Returns:List<? extends DocTree>

the description

getExceptionNameback to summary
public ReferenceTree getExceptionName()

Returns the name of the exception being documented.

Returns:ReferenceTree

the name of the exception