RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXErrorCodes Class

Error codes for dbExpress framework (TDBX) exceptions

Pascal
TDBXErrorCodes = class;
C++
class TDBXErrorCodes;

DBXCommon

In general, methods in the dbExpress framework (TDBX) raise exceptions rather than return error codes. This class encapsulates the error codes for the standard exceptions. 

This table contains the standard error codes for TDBX exceptions.

Constant 
Description 
None  
Successful completion.  
Non fatal warning. Currently unused.  
Insufficient memory to complete the operation.  
Field type is not supported by this driver.  
Unexpected internal error. Occurs if attempting to use a TDBX Object such as a connection, command, or reader that is already closed.  
Unsupported feature for the driver in use. Typically caused by unsupported metadata related requests.  
Invalid value for a TDBXDataTypes.TIME field.  
Invalid value read operation attempted for a TDBXReader or a TDBXParameter field. Use a get method of the correct type for this field.  
Ordinal used to access a TDBXReader column or a TDBXParameter is out of range.  
Invalid use of a parameter. Common causes of this error include: 1) Parameter already bound. 2) TDBXParameterDirections setting used is not supported by this driver.  
EOF  
Used internally by DBXDynalink drivers to indicate that a TDBXReader has no more rows.  
One or more parameters for a TDBXCommand has not been set.  
User name or password provided for a TDBXConnection is not valid.  
Attempt to set a TDBXParameter with an invalid precision or read a value with a TDBXDataTypes value that is not large enough.  
Unexpected error. Insufficient storage provided to retrieve a TDBXParameter value.  
TDBXIsolations level used is not valid for this driver.  
Unexpected internal error. Transaction id is either expired or invalid.  
Unexpected internal error. Transaction id is already in use by an active transaction.  
This driver is not available for the Delphi SKU purchased.  
Operation cannot be completed with a transaction active for the TDBXConnection.  
Support for multiple transactions is not enabled for this driver.  
TDBXConnection.Open connect operation failed.  
Driver could not be properly initialized. Client library may be missing, installed improperly, have the wrong version.  
Optimistic lock failed. Oracle driver return this error: "OCI-21700: object does not exist or is marked for delete".  
Unexpected internal error accessing an Oracle REF object.  
Unexpected internal error accessing an Oracle REF object.  
Parameterized query is missing a '?' parameter marker.  
Feature not implemented.  
Deprecated. Driver is not compatible with version of VCL data access components in use.  
Argument used for an operation is invalid.  
Attempted operation is invalid.  
NoData  
Used internally by DBXDynalink drivers. Not an error. Indicates either there are no more rows for a TDBXReader or there is no more data when reading blob fields.  
Max common errors.  
Vendor specific error.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!