REST.Types.ERequestError.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

constructor Create(AStatusCode: Integer; const AStatusText: string; const AResponseContent: string); reintroduce;

C++

__fastcall ERequestError(int AStatusCode, const System::UnicodeString AStatusText, const System::UnicodeString AResponseContent);
/* Exception.CreateFmt */ inline __fastcall ERequestError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : ERESTException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall ERequestError(NativeUInt Ident)/* overload */ : ERESTException(Ident) { }
/* Exception.CreateRes */ inline __fastcall ERequestError(System::PResStringRec ResStringRec)/* overload */ : ERESTException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall ERequestError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : ERESTException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall ERequestError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : ERESTException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall ERequestError(const System::UnicodeString Msg, int AHelpContext) : ERESTException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall ERequestError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : ERESTException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ERequestError(NativeUInt Ident, int AHelpContext)/* overload */ : ERESTException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ERequestError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : ERESTException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ERequestError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : ERESTException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ERequestError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : ERESTException(Ident, Args, Args_High, AHelpContext) { }

Propriétés

Type Visibilité  Source Unité  Parent
constructor public
REST.Types.pas
REST.Types.hpp
REST.Types ERequestError

Description

Instancie une instance d'une exception avec une simple chaîne de message.

REST.Types.ERequestError.Create hérite de System.SysUtils.Exception.Create. Tout le contenu en-dessous de cette ligne se réfère à System.SysUtils.Exception.Create.

Instancie une instance d'une exception avec une simple chaîne de message.

Appelez Create pour construire un objet exception avec une simple chaîne de message.

Msg représente la chaîne contenant le message d'erreur d'exécution à afficher dans la boîte de dialogue des exceptions. Msg peut être une chaîne codée en dur ou un appel de fonction renvoyant une chaîne.

Voir aussi