API:FireDAC.Phys.OracleWrapper.EOCINativeException.Create
Delphi
constructor Create(AError: TOCIError); overload;
constructor Create(AObj: TOCIHandle; AErrorCode: sb4; const AMessage: String); overload;
C++
__fastcall EOCINativeException(TOCIError* AError)/* overload */;
__fastcall EOCINativeException(TOCIHandle* AObj, int AErrorCode, const System::UnicodeString AMessage)/* overload */;
/* EFDDBEngineException.Create */ inline __fastcall virtual EOCINativeException()/* overload */ : Firedac::Stan::Error::EFDDBEngineException() { }
/* EFDDBEngineException.Create */ inline __fastcall EOCINativeException(int AADCode, const System::UnicodeString AMessage)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(AADCode, AMessage) { }
/* Exception.CreateFmt */ inline __fastcall EOCINativeException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : Firedac::Stan::Error::EFDDBEngineException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EOCINativeException(NativeUInt Ident)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident) { }
/* Exception.CreateRes */ inline __fastcall EOCINativeException(System::PResStringRec ResStringRec)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EOCINativeException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EOCINativeException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EOCINativeException(const System::UnicodeString Msg, int AHelpContext) : Firedac::Stan::Error::EFDDBEngineException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EOCINativeException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : Firedac::Stan::Error::EFDDBEngineException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOCINativeException(NativeUInt Ident, int AHelpContext)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOCINativeException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOCINativeException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOCINativeException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident, Args, Args_High, AHelpContext) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FireDAC.Phys.OracleWrapper.pas FireDAC.Phys.OracleWrapper.hpp |
FireDAC.Phys.OracleWrapper | EOCINativeException |
Description
Instantiates an instance of an exception with a simple message string.
FireDAC.Phys.OracleWrapper.EOCINativeException.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