Skip to main content
FRAMES NO FRAMES

Class IloTupleCollection::DuplicatedKey

Definition file: ilopl/ilotuplecollection.h
Map of IloTupleCollection::DuplicatedKeyIloTupleCollection::DuplicatedKeyIloTupleCollection::DuplicatedKeyIloTupleCollection::DuplicatedExceptionIloException
This exception is thrown when the uniqueness of the keys of the tuple is violated.

This exception is thrown when a duplicate tuple is encountered from its key values.

It means that the keys of the tuple are already in the set.

Example:

 schema = <key int, int></br>
 {schema} S = { <1,2>, <2,3> };
 S.add(<1,4>} will raise an error due to the key of S
 
Inherited Methods from DuplicatedException
getMessage, getTupleCellArray, getTupleCollection, print
Inherited Methods from IloException
end, getMessage, IloException