raise exception in recordparser when invalid number of fields