API:System.JSON.Readers.EJsonReaderException.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const Msg: string; const APath: string; ALineNumber: Integer; ALinePosition: Integer); overload;
constructor Create(const Reader: TJsonReader; const Msg: string); overload;
constructor Create(const LineInfo: TJsonLineInfo; const Path, Msg: string); overload;

C++

__fastcall EJsonReaderException(const System::UnicodeString Msg, const System::UnicodeString APath, int ALineNumber, int ALinePosition)/* overload */;
__fastcall EJsonReaderException(TJsonReader* const Reader, const System::UnicodeString Msg)/* overload */;
__fastcall EJsonReaderException(System::Json::Types::TJsonLineInfo* const LineInfo, const System::UnicodeString Path, const System::UnicodeString Msg)/* overload */;
__fastcall EJsonReaderException(TJsonReader* const Reader, const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High)/* overload */;
__fastcall EJsonReaderException(System::Json::Types::TJsonLineInfo* const LineInfo, const System::UnicodeString Path, const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High)/* overload */;
/* Exception.CreateRes */ inline __fastcall EJsonReaderException(NativeUInt Ident)/* overload */ : System::Json::EJSONException(Ident) { }
/* Exception.CreateRes */ inline __fastcall EJsonReaderException(System::PResStringRec ResStringRec)/* overload */ : System::Json::EJSONException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EJsonReaderException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Json::EJSONException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EJsonReaderException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Json::EJSONException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EJsonReaderException(const System::UnicodeString Msg, int AHelpContext) : System::Json::EJSONException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EJsonReaderException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : System::Json::EJSONException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EJsonReaderException(NativeUInt Ident, int AHelpContext)/* overload */ : System::Json::EJSONException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EJsonReaderException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Json::EJSONException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EJsonReaderException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Json::EJSONException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EJsonReaderException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Json::EJSONException(Ident, Args, Args_High, AHelpContext) { }

Properties

Type Visibility Source Unit Parent
constructor public
System.JSON.Readers.pas
System.JSON.Readers.hpp
System.JSON.Readers EJsonReaderException

Description

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

System.JSON.Readers.EJsonReaderException.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