Errors and Warnings > Customizing the Error Handling Mechanism > Virtual Functions and Their Parameters
 
Virtual Functions and Their Parameters
*The member function IldErrorReporter::dbmsError takes the following arguments:
*the function code,
*the function name,
*the error text,
*the object (if appropriate),
*the IldRequest object (if appropriate),
*the connection string (if appropriate).
void UserErrorReporter::dbmsError(IlInt errorType,
const char* function,
const char* message,
IldDbms* dbms,
IldRequest* request,
const char* string) const;
*The member function IldErrorReporter::dblinkError takes the following arguments:
*the function code,
*the function name,
*the error text,
*the IldDbms object (if appropriate),
*the IldRequest object (if appropriate),
*the connection string (if appropriate),
*the index value (if appropriate),
*the IldRelation object (if appropriate).
void UserErrorReporter::dblinkError(IlInt errorType,
const char* function,
const char* message,
IldDbms* dbms,
IldRequest* request,
const char* string,
IlInt index,
const IldRelation* relation)
const;
In both lists, “if appropriate” means that these arguments can have a null value if the function where the error is raised does not use such an object. One of the two arguments dbms and request must be non-null.

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