CMS-731 Refactor validators to use specific classes instead of exceptions