API:REST.Client.TCustomRESTResponse.EJSONValueError.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(AError: TJSONValueError; const AMessage: string);

C++

__fastcall EJSONValueError(TCustomRESTResponse::TJSONValueError AError, const System::UnicodeString AMessage);
/* Exception.CreateFmt */ inline __fastcall EJSONValueError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : Rest::Types::ERESTException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EJSONValueError(NativeUInt Ident)/* overload */ : Rest::Types::ERESTException(Ident) { }
/* Exception.CreateRes */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec)/* overload */ : Rest::Types::ERESTException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EJSONValueError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : Rest::Types::ERESTException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : Rest::Types::ERESTException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EJSONValueError(const System::UnicodeString Msg, int AHelpContext) : Rest::Types::ERESTException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EJSONValueError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : Rest::Types::ERESTException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EJSONValueError(NativeUInt Ident, int AHelpContext)/* overload */ : Rest::Types::ERESTException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : Rest::Types::ERESTException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : Rest::Types::ERESTException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EJSONValueError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : Rest::Types::ERESTException(Ident, Args, Args_High, AHelpContext) { }

プロパティ

種類 可視性 ソース ユニット
constructor public
REST.Client.pas
REST.Client.hpp
REST.Client EJSONValueError

説明

単純なメッセージ文字列を持つ例外のインスタンスを作成します。

REST.Client.TCustomRESTResponse.EJSONValueError.Create は System.SysUtils.Exception.Create を継承しています。以下の内容はすべて System.SysUtils.Exception.Create を参照しています。

単純なメッセージ文字列を持つ例外のインスタンスを作成します。

Create メソッドを呼び出すと,単純なメッセージ文字列を持つ例外オブジェクトを作成できます。

Msg は,例外ダイアログボックスに表示される実行時エラーメッセージが入った文字列です。Msg はハードコード文字列でも,文字列を返す関数呼び出しでもかまいません。

関連項目