157158159160161162163164
} @Override public void validate(String value) throws IllegalValueException { if (!isValid(value)) { throw new IllegalValueException(value, "Allowed values are: " + allowedValues); } }