FireDAC.Stan.Error.TFDDBError.Create
Delphi
constructor Create; overload; virtual;
constructor Create(ALevel, AErrorCode: Integer; const AMessage,
AObjName: String; AKind: TFDCommandExceptionKind; ACmdOffset, ARowIndex: Integer); overload; virtual;
C++
__fastcall virtual TFDDBError()/* overload */;
__fastcall virtual TFDDBError(int ALevel, int AErrorCode, const System::UnicodeString AMessage, const System::UnicodeString AObjName, TFDCommandExceptionKind AKind, int ACmdOffset, int ARowIndex)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FireDAC.Stan.Error.pas FireDAC.Stan.Error.hpp |
FireDAC.Stan.Error | TFDDBError |
Description
Constructs an object and initializes its data before the object is first used.
FireDAC.Stan.Error.TFDDBError.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.
Constructs an object and initializes its data before the object is first used.
Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.
Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.
Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.