Errors and Warnings > Warnings
 
Warnings
Objects of the classes IldDbms and IldRequest can be queried about the arrival of warnings or other information messages.
When such a message is received, a flag is raised in the object. To test the flag, call the function IldIldBase::isInformationRaised. If the return value is IlTrue, a warning or information message has been received. You can read its symbolic code and text by calling the member function IldIldBase::getInformationCode or IldIldBase::getInformationMessage. For example:
if (request->isInformationRaised()) {
cout << "Information: " << endl;
cout << "\t" << request->getInformationMessage() << endl;
}
Platforms: When your application is connected to Sybase, these information messages originate from the TransactSQL function print.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.