Bde.DBTables.TDBError.Create
Delphi
constructor Create(Owner: EDBEngineError; ErrorCode: DBIResult; NativeError: Longint; Message: string);
C++
__fastcall TDBError(EDBEngineError* Owner, System::Word ErrorCode, int NativeError, System::UnicodeString Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TDBError |
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.