Iterator i = values.iterator();
Iterator i = newValuesOffered.iterator();
    protected void setValuesOffered ( Set values) throws  IllegalValueException     {                if (values == null) {            throw new IllegalValueException ("setValuesOffered must not be called with a null value. An empty set IS permitted.");        }        Object o;        Iterator i = values.iterator();        while (i.hasNext()) {            o = i.next() ;            if ( possibleValues.contains(o) ) {                valuesOffered.add(o);            } else {                throw new IllegalValueException("The following value is not a permitted value: " + o.toString() );            }        }    }