Inserts a statement in a try-catch block.