System.JSON.Readers.EJsonReaderException.CreateFmt
Delphi
constructor CreateFmt(const Reader: TJsonReader; const Msg: string; const Args: array of const; const Ex: Exception = nil); overload;
constructor CreateFmt(const LineInfo: TJsonLineInfo; const Path, Msg: string; const Args: array of const; const Ex: Exception = nil); 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 トークンへのパスを保有する文字列定数。