System.SysUtils.EInOutError.Create

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

Delphi

constructor Create(const Msg, Path: string); overload;

C++

__fastcall EInOutError(const System::UnicodeString Msg, const System::UnicodeString Path);
__fastcall EInOutError(System::PResStringRec ResStringRec, const System::UnicodeString Path);
inline __fastcall EInOutError(const System::UnicodeString Msg) : Exception(Msg) { }
inline __fastcall EInOutError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : Exception(Msg, Args, Args_High) { }
inline __fastcall EInOutError(NativeUInt Ident) : Exception(Ident) { }
inline __fastcall EInOutError(System::PResStringRec ResStringRec) : Exception(ResStringRec) { }
inline __fastcall EInOutError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High) : Exception(Ident, Args, Args_High) { }
inline __fastcall EInOutError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High) : Exception(ResStringRec, Args, Args_High) { }
inline __fastcall EInOutError(const System::UnicodeString Msg, int AHelpContext) : Exception(Msg, AHelpContext) { }
inline __fastcall EInOutError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : Exception(Msg, Args, Args_High, AHelpContext) { }
inline __fastcall EInOutError(NativeUInt Ident, int AHelpContext) : Exception(Ident, AHelpContext) { }
inline __fastcall EInOutError(System::PResStringRec ResStringRec, int AHelpContext) : Exception(ResStringRec, AHelpContext) { }
inline __fastcall EInOutError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext) : Exception(ResStringRec, Args, Args_High, AHelpContext) { }
inline __fastcall EInOutError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext) : Exception(Ident, Args, Args_High, AHelpContext) { }

プロパティ

種類 可視性 ソース ユニット
constructor public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils EInOutError

説明

単純なメッセージ文字列を持つ例外のインスタンスを作成します。

System.SysUtils.EInOutError.Create は System.SysUtils.Exception.Create を継承しています。以下の内容はすべて System.SysUtils.Exception.Create を参照しています。

単純なメッセージ文字列を持つ例外のインスタンスを作成します。

Create メソッドを呼び出すと,単純なメッセージ文字列を持つ例外オブジェクトを作成できます。

Msg は,例外ダイアログボックスに表示される実行時エラーメッセージが入った文字列です。Msg はハードコード文字列でも,文字列を返す関数呼び出しでもかまいません。

関連項目