public interface Try extends CompoundStmt
try block, one or more
catch blocks, and an optional finally block.Term.Instance| Modifier and Type | Method and Description |
|---|---|
java.util.List<Catch> |
catchBlocks()
List of catch blocks.
|
Try |
catchBlocks(java.util.List<Catch> catchBlocks)
Set the list of catch blocks.
|
Block |
finallyBlock()
The block to "finally" execute.
|
Try |
finallyBlock(Block finallyBlock)
Set the block to "finally" execute.
|
Block |
tryBlock()
The block to "try".
|
Try |
tryBlock(Block tryBlock)
Set the block to "try".
|
exceptions, exceptions, reachable, reachabledel, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitList