API:Data.DB.EUpdateError.Create
Delphi
constructor Create(NativeError, Context: string;
ErrCode, PrevError: Integer; E: Exception);
C++
__fastcall EUpdateError(System::UnicodeString NativeError, System::UnicodeString Context, int ErrCode, int PrevError, System::Sysutils::Exception* E);
/* Exception.CreateFmt */ inline __fastcall EUpdateError(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High) : EDatabaseError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EUpdateError(System::NativeUInt Ident)/* overload */ : EDatabaseError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EUpdateError(System::PResStringRec ResStringRec)/* overload */ : EDatabaseError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EUpdateError(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : EDatabaseError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EUpdateError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : EDatabaseError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EUpdateError(const System::UnicodeString Msg, int AHelpContext) : EDatabaseError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EUpdateError(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext) : EDatabaseError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EUpdateError(System::NativeUInt Ident, int AHelpContext)/* overload */ : EDatabaseError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EUpdateError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : EDatabaseError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EUpdateError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : EDatabaseError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EUpdateError(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : EDatabaseError(Ident, Args, Args_High, AHelpContext) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.DB.pas Data.DB.hpp |
Data.DB | EUpdateError |
Description
Instantiates an instance of an exception with a simple message string.
Data.DB.EUpdateError.Create inherits from System.SysUtils.Exception.Create. All content below this line refers to System.SysUtils.Exception.Create.
Instantiates an instance of an exception with a simple message string.
Call Create to construct an exception object with a simple message string.
Msg
is the string containing the run-time error message to display in the exception dialog box. Msg
can be a hard-coded string or can be a function call that returns a string.
See Also
Code Examples