Remove the unnecessary exception.