Vcl.OleAuto.EOleSysError.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(ErrorCode: Integer);

C++

__fastcall EOleSysError(int ErrorCode);
/* Exception.CreateFmt */ inline __fastcall EOleSysError(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High) : EOleError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EOleSysError(System::NativeUInt Ident, const double* Dummy)/* overload */ : EOleError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec)/* overload */ : EOleError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EOleSysError(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : EOleError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : EOleError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EOleSysError(const System::UnicodeString Msg, int AHelpContext) : EOleError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EOleSysError(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext) : EOleError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleSysError(System::NativeUInt Ident, int AHelpContext)/* overload */ : EOleError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : EOleError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : EOleError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleSysError(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : EOleError(Ident, Args, Args_High, AHelpContext) { }

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.OleAuto.pas
Vcl.OleAuto.hpp
Vcl.OleAuto EOleSysError

Description

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

Vcl.OleAuto.EOleSysError.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