Coupling catch clauses with local declarations