Soap.SOAPHTTPTrans.ESOAPHTTPException.Create
Delphi
constructor Create(AStatusCode: Integer; const AStatusText, AURL: string); overload;
C++
__fastcall ESOAPHTTPException(int AStatusCode, const System::UnicodeString AStatusText, const System::UnicodeString AURL)/* overload */;
/* Exception.CreateFmt */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High) : System::Net::Urlclient::ENetException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(System::NativeUInt Ident)/* overload */ : System::Net::Urlclient::ENetException(Ident) { }
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : System::Net::Urlclient::ENetException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, int AHelpContext) : System::Net::Urlclient::ENetException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext) : System::Net::Urlclient::ENetException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ESOAPHTTPException(System::NativeUInt Ident, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ESOAPHTTPException(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(Ident, Args, Args_High, AHelpContext) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | ESOAPHTTPException |
Description
Instantiates an instance of an ESOAPHTTPException with a simple message string.
Call Create to construct an ESOAPHTTPException object with a simple message string.
Msg is the string containing the runtime 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.
SCode is the HTTP status code, if any, that triggered this exception. It becomes the value of the StatusCode property.