Data.DBXCommon.TDBXErrorCodes

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTDBXErrorCodes

Delphi

TDBXErrorCodes =  class

C++

class PASCALIMPLEMENTATION TDBXErrorCodes : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon Data.DBXCommon

Description

Error codes for dbExpress framework (TDBX) exceptions

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.

Warning

Non fatal warning. Currently unused.

NoMemory

Insufficient memory to complete the operation.

UnsupportedFieldType

Field type is not supported by this driver.

InvalidHandle

Unexpected internal error. Occurs if attempting to use a TDBX Object such as a connection, command, or reader that is already closed.

NotSupported

Unsupported feature for the driver in use. Typically caused by unsupported metadata related requests.

InvalidTime

Invalid value for a TDBXDataTypes.TIME field.

InvalidType

Invalid value read operation attempted for a TDBXReader or a TDBXParameter field. Use a get method of the correct type for this field.

InvalidOrdinal

Ordinal used to access a TDBXReader column or a TDBXParameteris out of range.

InvalidParameter

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.

ParameterNotSet

One or more parameters for a TDBXCommand has not been set.

InvalidUserOrPassword

User name or password provided for a TDBXConnection is not valid.

InvalidPrecision

Attempt to set a TDBXParameter with an invalid precision or read a value with a TDBXDataTypes value that is not large enough.

InvalidLength

Unexpected error. Insufficient storage provided to retrieve a TDBXParameter value.

InvalidIsolationLevel

TDBXIsolations level used is not valid for this driver.

InvalidTransactionId

Unexpected internal error. Transaction id is either expired or invalid.

DuplicateTransactionId

Unexpected internal error. Transaction id is already in use by an active transaction.

DriverRestricted

This driver is not available for the Delphi SKU purchased.

TransactionActive

Operation cannot be completed with a transaction active for the TDBXConnection.

MultipleTransactionNotEnabled

Support for multiple transactions is not enabled for this driver.

ConnectionFailed

TDBXConnection.Open connect operation failed.

DriverInitFailed

Driver could not be properly initialized. Client library may be missing, installed improperly, have the wrong version.

OptimisticLockFailed

Optimistic lock failed. Oracle driver return this error: "OCI-21700: object does not exist or is marked for delete".

InvalidReference

Unexpected internal error accessing an Oracle REF object.

NoTable

Unexpected internal error accessing an Oracle REF object.

MissingParameterMarker

Parameterized query is missing a '?' parameter marker.

NotImplemented

Feature not implemented.

DriverIncompatible

Deprecated. Driver is not compatible with version of VCL data access components in use.

InvalidArgument

Argument used for an operation is invalid.

InvalidOperation

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.

MaxCommonErrors

Max common errors.

VendorError

Vendor specific error.

ServerClassExists

A server class with the same name has already been added to the server.

ServerMethodExists

A server method with the same name has already been added to the server.

ServerClassMissing

A class with this name has not been added to the server class list.

ServerMethodMissing

A method with this name has not been added to the server method list.

ServerMethodFailed

Invocation of server method failed.



See Also