API:IBX.IB.EIBError.Create
Delphi
constructor Create(ASQLCode: Long; Msg: string); overload;
constructor Create(ASQLCode: Long; AIBErrorCode: Long; Msg: string); overload;
C++
__fastcall EIBError(int ASQLCode, System::UnicodeString Msg)/* overload */;
__fastcall EIBError(int ASQLCode, int AIBErrorCode, System::UnicodeString Msg)/* overload */;
/* Exception.CreateFmt */ inline __fastcall EIBError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : Data::Db::EDatabaseError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EIBError(NativeUInt Ident)/* overload */ : Data::Db::EDatabaseError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EIBError(System::PResStringRec ResStringRec)/* overload */ : Data::Db::EDatabaseError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EIBError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : Data::Db::EDatabaseError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EIBError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : Data::Db::EDatabaseError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EIBError(const System::UnicodeString Msg, int AHelpContext) : Data::Db::EDatabaseError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EIBError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : Data::Db::EDatabaseError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EIBError(NativeUInt Ident, int AHelpContext)/* overload */ : Data::Db::EDatabaseError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EIBError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : Data::Db::EDatabaseError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EIBError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : Data::Db::EDatabaseError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EIBError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : Data::Db::EDatabaseError(Ident, Args, Args_High, AHelpContext) { }
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | IBX.IB.pas IBX.IB.hpp |
IBX.IB | EIBError |
Description
Instancie une instance d'une exception avec une simple chaîne de message.
IBX.IB.EIBError.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.