API:Data.DbxHTTPLayer.EHTTPProtocolException.Create
Delphi
constructor Create(AErrorCode: Integer; const AErrorMessage: string; const AMessage: string);
C++
__fastcall EHTTPProtocolException(int AErrorCode, const System::UnicodeString AErrorMessage, const System::UnicodeString AMessage);
/* Exception.CreateFmt */ inline __fastcall EHTTPProtocolException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : System::Sysutils::Exception(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EHTTPProtocolException(NativeUInt Ident)/* overload */ : System::Sysutils::Exception(Ident) { }
/* Exception.CreateRes */ inline __fastcall EHTTPProtocolException(System::PResStringRec ResStringRec)/* overload */ : System::Sysutils::Exception(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EHTTPProtocolException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EHTTPProtocolException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EHTTPProtocolException(const System::UnicodeString Msg, int AHelpContext) : System::Sysutils::Exception(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EHTTPProtocolException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : System::Sysutils::Exception(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EHTTPProtocolException(NativeUInt Ident, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EHTTPProtocolException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EHTTPProtocolException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EHTTPProtocolException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High, AHelpContext) { }
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
constructor | public | Data.DbxHTTPLayer.pas Data.DbxHTTPLayer.hpp |
Data.DbxHTTPLayer | EHTTPProtocolException |
Beschreibung
Instantiiert eine Instanz einer Exception mit einem einfachen Meldungs-String.
Data.DbxHTTPLayer.EHTTPProtocolException.Create erbt von System.SysUtils.Exception.Create. Der folgende Inhalt bezieht sich auf System.SysUtils.Exception.Create.
Instantiiert eine Instanz einer Exception mit einem einfachen Meldungs-String.
Mit Create lässt sich ein Exception-Objekt mit einem einfachen Meldungs-String erzeugen.
Msg
ist der String mit der Fehlermeldung, die zur Laufzeit im Exception-Dialogfeld angezeigt werden soll. Msg
kann ein festcodierter String oder ein Funktionsaufruf sein, der einen String zurückgibt.
Siehe auch
Codebeispiele