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 Detail

      • getExpression

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