Anzeigen: Delphi C++
Anzeigeeinstellungen

API:Data.DBXCommon.TDBXError.Create

Aus XE2 API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(ErrorCode: TDBXErrorCode; const ErrorMessage: UnicodeString); overload;
constructor Create(ErrorCode: TDBXErrorCode; const ErrorMessage: UnicodeString; const InnerException: Exception); overload;

C++

__fastcall TDBXError(int ErrorCode, const System::UnicodeString ErrorMessage)/* overload */;
__fastcall TDBXError(int ErrorCode, const System::UnicodeString ErrorMessage, const System::Sysutils::Exception* InnerException)/* overload */;
/* Exception.CreateFmt */ inline __fastcall TDBXError(const System::UnicodeString Msg, System::TVarRec const *Args, const int Args_Size) : System::Sysutils::Exception(Msg, Args, Args_Size) { }
/* Exception.CreateRes */ inline __fastcall TDBXError(int Ident)/* overload */ : System::Sysutils::Exception(Ident) { }
/* Exception.CreateResFmt */ inline __fastcall TDBXError(int Ident, System::TVarRec const *Args, const int Args_Size)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_Size) { }
/* Exception.CreateHelp */ inline __fastcall TDBXError(const System::UnicodeString Msg, int AHelpContext) : System::Sysutils::Exception(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall TDBXError(const System::UnicodeString Msg, System::TVarRec const *Args, const int Args_Size, int AHelpContext) : System::Sysutils::Exception(Msg, Args, Args_Size, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall TDBXError(int Ident, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall TDBXError(System::PResStringRec ResStringRec, System::TVarRec const *Args, const int Args_Size, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_Size, AHelpContext) { }

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXError

Beschreibung

Instantiiert eine Instanz einer Exception mit einem einfachen Meldungs-String.

Data.DBXCommon.TDBXError.Create erbt von System.SysUtils.Exception.Create. Der folgende Inhalt bezieht sich auf System.SysUtils.Exception.Create.

Instantiiert eine Instanz einer Exception mit einem einfachen Meldungs-String.

Mit Create lässt sich ein Exception-Objekt mit einem einfachen Meldungs-String erzeugen.

Msg ist der String mit der Fehlermeldung, die zur Laufzeit im Exception-Dialogfeld angezeigt werden soll. Msg kann ein festcodierter String oder ein Funktionsaufruf sein, der einen String zurückgibt.

Siehe auch

Frühere Versionen
Übersetzungen