public class TryBlock extends AbstractStatement
Constructor and Description |
---|
TryBlock() |
Modifier and Type | Method and Description |
---|---|
void |
addCatchBlock(Variable exception) |
String |
generate(Context context) |
BlockStatement |
getBlock() |
BlockStatement |
getCatchBlock(Variable exceptionVar) |
BlockStatement |
getFinallyBlock() |
getType
public BlockStatement getBlock()
public void addCatchBlock(Variable exception)
public BlockStatement getCatchBlock(Variable exceptionVar)
public BlockStatement getFinallyBlock()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.