throw exception on validator