RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDbEngineErrorDlg Class

TDbEngineErrorDlg replaces the normal message box for EDBEngineError exceptions raised at design time.

Pascal
TDbEngineErrorDlg = class(TForm);
C++
class TDbEngineErrorDlg : public TForm;

The standard message box displayed by an unhandled exception shows only the exception's name and description. EDBEngineError exceptions, however, contain additional information that can be useful to application developers. For this reason, exceptions of the EDBEngineError class, when raised at design time, appear in a special dialog box called TDbEngineErrorDlg. The dialog shows the entire stack of BDE errors as represented in the EDBEngineError object. 

At runtime, unhandled EDBEngineError exceptions generate the standard message box. But you can use the HookExceptions or ShowException method to display TDbEngineErrorDlg instead. This can be useful for debugging or in cases where you want the end user to have access to BDE error information. 

 

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