Oracle does not distinguish between errors originating from the server and errors generated within OCI itself. All errors are reported in the same manner, without classification. DBTools.h++ follows the Oracle8 error processing by always assigning the error code RWDBStatus::serverError. In all cases, the application's error handler is not invoked unless there is an error.
The format of an RWDBStatus error report from an Oracle8 Server follows. The RWDBStatus::message contents are obtained by converting the return code into the appropriate message through the OCIErrorGet() call of OCI.
errorCode: serverError
message: "Server Error: %s", replacing %s with the text from the OCIErrorGet() call
vendorMessage1: Unused
vendorMessage2: Unused
vendorError1: Return code from the OCI library
vendorError2: Operating system error code from the OCI library, or 0 if there is no operating system error code.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.