Remove an unnecessary toException