System.JSON.Readers.EJsonReaderException.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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) { }

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
System.JSON.Readers.pas
System.JSON.Readers.hpp
System.JSON.Readers EJsonReaderException


Beschreibung

Erstellt eine Instanz von EJsonReaderException.

EJsonReaderException.Create wird von Exception.Create abgeleitet.

  • Msg: String-Konstante, die eine Laufzeitfehler-Benachrichtigung enthält, um die Exception-Dialogbox anzuzeigen. Msg kann ein hart-codierter String oder ein Funktionsaufruf sein, der einen String aufruft.
  • InnerException: Die zugrunde liegende Exception.
  • APath: String-Konstante, die den Pfad zum JSON-Token, wo die Exception ausgeführt wurde, beinhaltet.
  • ALineNumber: Integer-Wert mit der Zeilennummer, wo die Exception ausgelöst wurde.
  • ALinePosition: Integer-Wert mit der Zeilenposition in der Zeile, wo die Exception ausgelöst wurde.
  • Reader: Ein JSON-Reader-Objekt.
  • Ex: Ein Exception-Objekt.
  • LineInfo: Ein TJsonLineInfo-Objekt, die Basisklasse, die Informationen zur JSON-Position, die in einem Stream gelesen/geschrieben werden soll, bereitstellt.

Siehe auch