StatementTree
, Tree
public interface TryTree extends StatementTree
try block catches finally finallyBlock
Modifier and Type | Method | Description |
---|---|---|
BlockTree |
getBlock() |
Returns the 'try' block of this 'try' statement.
|
List<? extends CatchTree> |
getCatches() |
Returns the list of 'catch' statements associated with this 'try'.
|
BlockTree |
getFinallyBlock() |
Returns the 'finally' block associated with this 'try'.
|
accept, getEndPosition, getKind, getStartPosition
BlockTree getBlock()
List<? extends CatchTree> getCatches()
BlockTree getFinallyBlock()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1