Resolve #7 - alter validator API to introduce new method for throwing exceptions