Skip to main content
FRAMES NO FRAMES

Class IloTupleCollection::UnknownReference

Definition file: ilopl/ilotuplecollection.h
Map of IloTupleCollection::UnknownReferenceIloTupleCollection::UnknownReferenceIloTupleCollection::UnknownReferenceIloException
This exception is thrown when an integrity constraint of the set is violated.

This exception is thrown when an integrity constraint of the set is violated.

It means that the referred collection does not contain the sub-tuple.

Example:

   schema s1 = <int a, int b>
   schema s2 = <int a1, s1 s, int b2>
   {s1} S1 = { <1,2>, <1,3> };
   {s2} S2 with s in S1 = { <1, <1,4>, 1> }
 

This exception will be raised because <1,4> is not in S1

Method Summary
public virtual const char *getMessage() const
public IloTupleCollectionI *getReference() const
public IloTupleCollectionI *getTupleCollection() const
public voidprint(ostream & out) const
Inherited Methods from IloException
end, getMessage, IloException
Method Detail

getMessage

public virtual const char * getMessage() const

This member function returns the message (a character string) of the invoking exception.


getReference

public IloTupleCollectionI * getReference() const

Returns the collection on which the integrity was violated


getTupleCollection

public IloTupleCollectionI * getTupleCollection() const

Returns the collection of tuple that raised the error


print

public void print(ostream & out) const

Prints the exception to the output