RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EDBEngineError.Create Constructor

Creates an instance of EDBEngineError using a specified BDE error code.

Pascal
constructor Create(ErrorCode: DBIResult);
C++
__fastcall EDBEngineError(DBIResult ErrorCode);

Create calls the Create method inherited from Exception (using an empty string) to construct an initialized instance of EDBEngineError. It then creates a TDBError instance for each error in the BDE error stack and builds a single string containing all the error messages. If the BDE is uninitialized when Create is called, the method generates only one generic error message and one TDBError instance. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!