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, System::TVarRec const *Args, const int Args_High) : EDatabaseError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EUpdateError(NativeUInt Ident)/* overload */ : EDatabaseError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EUpdateError(System::PResStringRec ResStringRec)/* overload */ : EDatabaseError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EUpdateError(NativeUInt Ident, System::TVarRec const *Args, const int Args_High)/* overload */ : EDatabaseError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EUpdateError(System::PResStringRec ResStringRec, System::TVarRec const *Args, const int 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, System::TVarRec const *Args, const int Args_High, int AHelpContext) : EDatabaseError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EUpdateError(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, System::TVarRec const *Args, const int Args_High, int AHelpContext)/* overload */ : EDatabaseError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EUpdateError(NativeUInt Ident, System::TVarRec const *Args, const int 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
Creates and initializes an instance of EUpdateError.
Create generates an EUpdateError object to represent another error that is caught while applying updates.
NativeError specifies the error message for the exception.
Context is a string providing additional context information. It becomes the value of the Context property.
ErrCode and PrevError specify error codes for this exception or the previous exception in this update operation. If the current exception or previous exception does not have an error code, the corresponding argument is 0. The ErrCode and PrevError parameters initialize the ErrorCode and PreviousError properties.
Exception specifies the exception that was caught (which this EUpdateError represents). It becomes the value of the OriginalException property.
See Also