Would these validations be better off as thrown exceptions?