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

Delphi

TFDGUIxErrorDialog = class(TFDGUIxComponent, IFDGUIxErrorDialog)

C++

class PASCALIMPLEMENTATION TFDGUIxErrorDialog : public TFDGUIxComponent

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Comp.UI.pas
FireDAC.Comp.UI.hpp
FireDAC.Comp.UI FireDAC.Comp.UI

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