> Programming Considerations > Developing CPLEX Applications > Eliminating Common Programming Errors > Read Your Messages

ILOG CPLEX detects many different kinds of errors and generates exception, warnings, or error messages about them.

To query exceptions in Concert Technology, use the methods:

IloInt IloCplex::Exception::getStatus() const;
const char* IloException::getMessage() const;

To view warnings and error messages in the Callable Library, you must direct them either to your screen or to a log file.