System.JSON.Readers.EJsonReaderException.CreateFmt

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

Delphi

constructor CreateFmt(const Reader: TJsonReader; const Msg: string; const Args: array of const); overload;
constructor CreateFmt(const LineInfo: TJsonLineInfo; const Path, Msg: string; const Args: array of const); overload;

プロパティ

種類 可視性 ソース ユニット
constructor public System.JSON.Readers.pas System.JSON.Readers EJsonReaderException


説明

書式付きメッセージ文字列を持つ EJsonReaderException のインスタンスを作成します。

EJsonReaderException.CreateFmt は、Exception.CreateFmt を継承しています。

  • Reader: JSON リーダー オブジェクト。
  • Msg: Args からの値と置換される、書式指定子を格納する文字列定数。
  • Args: 書式指定子によって定義される書式に従って、Msg に挿入する値を保有する定数の配列。
  • Ex: Exception オブジェクト。
  • LineInfo: TJsonLineInfo オブジェクト。JSON の位置についての情報を提供する基底クラス。
  • Path: 例外が発生した JSON トークンへのパスを保有する文字列定数。

関連項目