FireDAC.Comp.UI.TFDGUIxErrorDialog

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Comp.UI.TFDGUIxComponentFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDGUIxErrorDialog
[–] Properties
Type: class
Visibility: public
Source:
FireDAC.Comp.UI.pas
FireDAC.Comp.UI.hpp
Unit: FireDAC.Comp.UI
Parent: FireDAC.Comp.UI

Delphi

TFDGUIxErrorDialog = class(TFDGUIxComponent, IFDGUIxErrorDialog)

C++

class PASCALIMPLEMENTATION TFDGUIxErrorDialog : public TFDGUIxComponent

Description

This dialog displays FireDAC exceptions.

Use TFDGUIxErrorDialog in FireDAC GUI applications to display FireDAC exceptions to the user. The dialog allows to browse multiple error items included in an exception.

TFDGUIxErrorDialog identifies:

  • Error kind, native error code, erroneous DB object, and so on.
  • Original SQL command and parameter values that led to an exception.

For that, the dialog hooks the TApplication.OnException event. To use the dialog, drop it on a form or a data module. All additional setups are optional.

TFDGUIxErrorDialog has forms and FMX implementations. Use the Provider property to select the desired implementation.

See Also