The error classes provide data members to allow passing of the following information:
A string for the module or function name
A string for the error message
A string for the name of the source file where the error was thrown
An integer for the line number where the error was thrown
An ostringstream for additional information, such as the names and values of local variables
The OCI_Error class is a little different; it can pass the following:
A string for the module or function name
An integer for the Oracle error code
A string for the Oracle error message
A string for the name of the source file where the error was thrown
An integer for the line number where the error was thrown
An ostringstream for additional information, such as the names and values of local variables