Interface ThrowTree

All Superinterfaces:
StatementTree, Tree

public interface ThrowTree extends StatementTree
A tree node for a 'throw' statement. For example:
   throw expression;
 
Since:
9
  • Method Details

    • getExpression

      ExpressionTree getExpression()
      Returns the expression being thrown.
      Returns:
      the expression being thrown.