Replace explicit enter/exit try block with handler table.