Change the Exception class if the record is not found