REST.Client.TCustomRESTResponse.EJSONValueError.Create

From RAD Studio API Documentation
Jump to: navigation, search

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, System::TVarRec const *Args, const int Args_High) : Rest::Exception::ERESTException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EJSONValueError(NativeUInt Ident)/* overload */ : Rest::Exception::ERESTException(Ident) { }
/* Exception.CreateRes */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec)/* overload */ : Rest::Exception::ERESTException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EJSONValueError(NativeUInt Ident, System::TVarRec const *Args, const int Args_High)/* overload */ : Rest::Exception::ERESTException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec, System::TVarRec const *Args, const int Args_High)/* overload */ : Rest::Exception::ERESTException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EJSONValueError(const System::UnicodeString Msg, int AHelpContext) : Rest::Exception::ERESTException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EJSONValueError(const System::UnicodeString Msg, System::TVarRec const *Args, const int Args_High, int AHelpContext) : Rest::Exception::ERESTException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EJSONValueError(NativeUInt Ident, int AHelpContext)/* overload */ : Rest::Exception::ERESTException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : Rest::Exception::ERESTException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EJSONValueError(System::PResStringRec ResStringRec, System::TVarRec const *Args, const int Args_High, int AHelpContext)/* overload */ : Rest::Exception::ERESTException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EJSONValueError(NativeUInt Ident, System::TVarRec const *Args, const int Args_High, int AHelpContext)/* overload */ : Rest::Exception::ERESTException(Ident, Args, Args_High, AHelpContext) { }

Properties

Type Visibility Source Unit Parent
constructor public
REST.Client.pas
REST.Client.hpp
REST.Client EJSONValueError

Description

Instantiates an instance of an exception with a simple message string.

REST.Client.TCustomRESTResponse.EJSONValueError.Create inherits from System.SysUtils.Exception.Create. All content below this line refers to System.SysUtils.Exception.Create.

Instantiates an instance of an exception with a simple message string.

Call Create to construct an exception object with a simple message string.

Msg is the string containing the run-time 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.

See Also

Code Examples