API:System.Classes.EFileStreamError.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(ResStringRec: PResStringRec; const FileName: string);

C++

__fastcall EFileStreamError(System::PResStringRec ResStringRec, const System::UnicodeString FileName);
/* Exception.CreateFmt */ inline __fastcall EFileStreamError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : EStreamError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EFileStreamError(NativeUInt Ident)/* overload */ : EStreamError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EFileStreamError(System::PResStringRec ResStringRec)/* overload */ : EStreamError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EFileStreamError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : EStreamError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EFileStreamError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : EStreamError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EFileStreamError(const System::UnicodeString Msg, int AHelpContext) : EStreamError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EFileStreamError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : EStreamError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EFileStreamError(NativeUInt Ident, int AHelpContext)/* overload */ : EStreamError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EFileStreamError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : EStreamError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EFileStreamError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : EStreamError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EFileStreamError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : EStreamError(Ident, Args, Args_High, AHelpContext) { }

Properties

Type Visibility Source Unit Parent
constructor public
System.Classes.pas
System.Classes.hpp
System.Classes EFileStreamError

Description

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

System.Classes.EFileStreamError.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