Previous Topic

Next Topic

Overview

This appendix lists the error messages generated by the various components of c-treeACE SQL. Error conditions associated with c-treeACE SQL components use the following ranges of error codes.

Error Codes Used by c-treeSQL Components

Error Number Range

Used By

15001 - 15999

Errors specific to the c-treeACE SQL flat-file storage system

16001 - 16999

Errors specific to the c-treeACE SQL main-memory storage system

17000 - 17999

c-tree Plus error messages

20000 - 20999

c-treeACE SQL engine error message

21000 - 21999

c-treeDB error messages

25001 - 25100

c-treeACE SQL Integrator error messages

25101 - 25200

c-treeACE SQL ODBC Driver error messages

26001 - 26200

c-treeACE SQL JDBC Driver error messages

30000 - 30999

c-treeACE SQL network error messages

In addition to the c-treeACE SQL-specific error codes, error conditions have an associated SQLSTATE value. SQLSTATE is a 5-character status parameter whose value indicates the condition status returned by the most recent c-treeACE SQL statement. The first two characters of the SQLSTATE value specify the class code and the last three characters specify the subclass code:

  • Class codes beginning with A-H and 0-4 are reserved by the c-treeACE SQL standard. For those class codes only, subclass codes beginning with A-H and 0-4 are also reserved by the standard.
  • Class codes beginning with I-Z and 5-9 are specific to database implementations such as c-treeACE SQL. All subclass codes in those classes are implementation defined.