public TryStmt(final BlockStmt tryBlock, final List<CatchClause> catchs, final BlockStmt finallyBlock) { setTryBlock(tryBlock); setCatchs(catchs); setFinallyBlock(finallyBlock); }
public TryStmt(final int beginLine, final int beginColumn, final int endLine, final int endColumn, List<VariableDeclarationExpr> resources, final BlockStmt tryBlock, final List<CatchClause> catchs, final BlockStmt finallyBlock) { super(beginLine, beginColumn, endLine, endColumn); this.resources = resources; setTryBlock(tryBlock); setCatchs(catchs); setFinallyBlock(finallyBlock); }