org.jboss.errai.codegen.control
Class TryBlock
java.lang.Object
org.jboss.errai.codegen.AbstractStatement
org.jboss.errai.codegen.control.TryBlock
- All Implemented Interfaces:
- Statement
public class TryBlock
- extends AbstractStatement
- Author:
- Christian Sadilek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TryBlock
public TryBlock()
getBlock
public BlockStatement getBlock()
addCatchBlock
public void addCatchBlock(Variable exception)
getCatchBlock
public BlockStatement getCatchBlock(Variable exceptionVar)
getFinallyBlock
public BlockStatement getFinallyBlock()
generate
public String generate(Context context)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.