Remove incorrectly written exception handler.