RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBError.Create Constructor

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

Pascal
constructor Create(Owner: EDBEngineError; ErrorCode: DBIResult; NativeError: Longint; Message: PChar);
C++
__fastcall TDBError(EDBEngineError Owner, DBIResult ErrorCode, Longint NativeError, const char * Message);

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. 

 

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