Normalize exceptions.