Data.DBXCommon.TDBXError.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

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

C++

__fastcall TDBXError(int ErrorCode, const System::UnicodeString ErrorMessage)/* overload */;
__fastcall TDBXError(int ErrorCode, const System::UnicodeString ErrorMessage, System::Sysutils::Exception* const InnerException)/* overload */;
/* Exception.CreateFmt */ inline __fastcall TDBXError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : System::Sysutils::Exception(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall TDBXError(NativeUInt Ident)/* overload */ : System::Sysutils::Exception(Ident) { }
/* Exception.CreateRes */ inline __fastcall TDBXError(System::PResStringRec ResStringRec)/* overload */ : System::Sysutils::Exception(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall TDBXError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall TDBXError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High) { }
/* 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, const System::TVarRec *Args, const int Args_High, int AHelpContext) : System::Sysutils::Exception(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall TDBXError(NativeUInt Ident, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall TDBXError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall TDBXError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall TDBXError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High, AHelpContext) { }

Eigenschaften

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


Beschreibung

Erstellt eine TDBXError-Instanz.

Create erstellt und initialisiert eine Instanz der TDBXError-Klasse, der Exception-Klasse für das dbExpress Framework. Neue Exceptions, die Sie erstellen, sollten von TDBXError abstammen.

Siehe auch