API:FireDAC.Phys.MongoDBWrapper.EMongoNativeException.Create
Delphi
constructor Create(AError: TMongoError); overload;
C++
__fastcall EMongoNativeException(TMongoError* AError)/* overload */;
/* EFDDBEngineException.Create */ inline __fastcall virtual EMongoNativeException()/* overload */ : Firedac::Stan::Error::EFDDBEngineException() { }
/* EFDDBEngineException.Create */ inline __fastcall EMongoNativeException(int AADCode, const System::UnicodeString AMessage)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(AADCode, AMessage) { }
/* Exception.CreateFmt */ inline __fastcall EMongoNativeException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : Firedac::Stan::Error::EFDDBEngineException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EMongoNativeException(NativeUInt Ident)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident) { }
/* Exception.CreateRes */ inline __fastcall EMongoNativeException(System::PResStringRec ResStringRec)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EMongoNativeException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EMongoNativeException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EMongoNativeException(const System::UnicodeString Msg, int AHelpContext) : Firedac::Stan::Error::EFDDBEngineException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EMongoNativeException(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 EMongoNativeException(NativeUInt Ident, int AHelpContext)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EMongoNativeException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EMongoNativeException(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 EMongoNativeException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : Firedac::Stan::Error::EFDDBEngineException(Ident, Args, Args_High, AHelpContext) { }
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | EMongoNativeException |
Description
Instancie une instance d'une exception avec une simple chaîne de message.
FireDAC.Phys.MongoDBWrapper.EMongoNativeException.Create hérite de System.SysUtils.Exception.Create. Tout le contenu en-dessous de cette ligne se réfère à System.SysUtils.Exception.Create.
Instancie une instance d'une exception avec une simple chaîne de message.
Appelez Create pour construire un objet exception avec une simple chaîne de message.
Msg représente la chaîne contenant le message d'erreur d'exécution à afficher dans la boîte de dialogue des exceptions. Msg peut être une chaîne codée en dur ou un appel de fonction renvoyant une chaîne.