-
- All Superinterfaces:
StatementTree
,Tree
public interface ThrowTree extends StatementTree
A tree node for a 'throw' statement. For example:throw expression;
- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTree
getExpression()
Returns the expression being thrown.-
Methods inherited from interface jdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
-
-
-
Method Detail
-
getExpression
ExpressionTree getExpression()
Returns the expression being thrown.- Returns:
- the expression being thrown.
-
-