Datasnap.DSClientRest.TDSRestProtocolException.Create
Delphi
constructor Create(AStatus: Integer; const AMessage, AResponseText: string);
C++
__fastcall TDSRestProtocolException(int AStatus, const System::UnicodeString AMessage, const System::UnicodeString AResponseText);
/* Exception.CreateFmt */ inline __fastcall TDSRestProtocolException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : TDSRestException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall TDSRestProtocolException(NativeUInt Ident)/* overload */ : TDSRestException(Ident) { }
/* Exception.CreateRes */ inline __fastcall TDSRestProtocolException(System::PResStringRec ResStringRec)/* overload */ : TDSRestException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall TDSRestProtocolException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : TDSRestException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall TDSRestProtocolException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : TDSRestException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall TDSRestProtocolException(const System::UnicodeString Msg, int AHelpContext) : TDSRestException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall TDSRestProtocolException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : TDSRestException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall TDSRestProtocolException(NativeUInt Ident, int AHelpContext)/* overload */ : TDSRestException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall TDSRestProtocolException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : TDSRestException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall TDSRestProtocolException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : TDSRestException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall TDSRestProtocolException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : TDSRestException(Ident, Args, Args_High, AHelpContext) { }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | TDSRestProtocolException |
説明
REST プロトコル例外のインスタンスを、シンプルなメッセージ文字列、ステータス、レスポンス テキストで初期化します。
Create を呼び出すと、REST プロトコル例外オブジェクトを、AMessage パラメータで与えられるシンプルなメッセージ文字列、AStatus パラメータで与えられるステータス、および、AResponseText パラメータで与えられるレスポンス テキストで、構築することができます。