API:REST.Backend.EMSApi.EEMSClientHTTPError.Create
Delphi
constructor Create(ACode: Integer; const AError: string; const ADescription: string = ''); overload;
C++
__fastcall EEMSClientHTTPError(int ACode, const System::UnicodeString AError, const System::UnicodeString ADescription)/* overload */;
/* Exception.CreateFmt */ inline __fastcall EEMSClientHTTPError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : EEMSClientAPIError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EEMSClientHTTPError(NativeUInt Ident)/* overload */ : EEMSClientAPIError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EEMSClientHTTPError(System::PResStringRec ResStringRec)/* overload */ : EEMSClientAPIError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EEMSClientHTTPError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : EEMSClientAPIError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EEMSClientHTTPError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : EEMSClientAPIError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EEMSClientHTTPError(const System::UnicodeString Msg, int AHelpContext) : EEMSClientAPIError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EEMSClientHTTPError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : EEMSClientAPIError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EEMSClientHTTPError(NativeUInt Ident, int AHelpContext)/* overload */ : EEMSClientAPIError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EEMSClientHTTPError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : EEMSClientAPIError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EEMSClientHTTPError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : EEMSClientAPIError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EEMSClientHTTPError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : EEMSClientAPIError(Ident, Args, Args_High, AHelpContext) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | REST.Backend.EMSApi.pas REST.Backend.EMSApi.hpp |
REST.Backend.EMSApi | EEMSClientHTTPError |
Description
Instantiates an instance of an exception with a simple message string.
REST.Backend.EMSApi.EEMSClientHTTPError.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