Handle exception cases