- All Superinterfaces:
StatementTree
,Tree
A tree node for a 'throw' statement.
For example:
throw expression;
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the expression being thrown.Methods inherited from interface org.openjdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getExpression
ExpressionTree getExpression()Returns the expression being thrown.- Returns:
- the expression being thrown.
-