Soap.SOAPHTTPTrans.ESOAPHTTPException.Create
Delphi
constructor Create(const Msg: string; SCode: Integer = 0; Dummy: Integer = 0);
C++
__fastcall ESOAPHTTPException(const System::UnicodeString Msg, int SCode, int Dummy);
__fastcall ESOAPHTTPException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int SCode, int Dummy);
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(NativeUInt Ident)/* overload */ : System::Sysutils::Exception(Ident) { }
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec)/* overload */ : System::Sysutils::Exception(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, int AHelpContext) : System::Sysutils::Exception(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall ESOAPHTTPException(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 ESOAPHTTPException(NativeUInt Ident, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ESOAPHTTPException(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 ESOAPHTTPException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(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.