- All Superinterfaces:
StatementTree
,Tree
public interface ThrowTree extends StatementTree
A tree node for athrow
statement. For example:throw expression;
- Since:
- 1.6
- See The Java™ Language Specification:
- section 14.18
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTree
getExpression()
Returns the expression to be thrown.
Method Detail
getExpression
ExpressionTree getExpression()
Returns the expression to be thrown.- Returns:
- the expression