NO FRAMES

Class IloCplex::Exception

Definition file: ilcplex/ilocplexi.h

The class IloCplex::Exception, derived from the nested class IloAlgorithm::Exception, is the base class of exceptions thrown by classes derived from IloCplex.

Method Summary
public IloIntgetStatus() const
Inherited Methods from IloException
end, getMessage
Method Detail

getStatus

public IloInt getStatus() const

This method returns the ILOG CPLEX error code of an exception thrown by a member of IloCplex. These error codes are detailed in the reference manual as the group optim.cplex.errorcodes.

This method may also return negative values for subclasses of IloCplex::Exception, which are not listed in the reference manual. The exceptions listed in the reference manual are always thrown as instances of IloCplex::Exception and not as an instance of one of its derived classes.