Bde.DBTables.TDBError.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TDBError

Delphi

constructor Create(Owner: EDBEngineError; ErrorCode: DBIResult;
NativeError: Longint; Message: string);

C++

__fastcall TDBError(EDBEngineError* Owner, Bde::DBIResult ErrorCode, System::LongInt NativeError, System::UnicodeString Message);

Description

Initializes an instance of TDBError using error information returned by the BDE.

TDBError's Create method is called by the EDBEngineError constructor, just as TDBError objects are freed by the EDBEngineError destructor. Application's should never have cause for calling Create directly, except in the case of custom exception-handling objects descending from or similar to the EDBEngineError exception object.

See Also