[validator] throw an exception if isn't an instance of ConstraintValidatorInterface.