Anzeigen: Delphi C++
Anzeigeeinstellungen

Data.DBXJSON.TJSONException.Create

Aus XE2 API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(const ErrorMessage: UnicodeString);

C++

__fastcall TJSONException(const System::UnicodeString ErrorMessage);
/* Exception.CreateFmt */ inline __fastcall TJSONException(const System::UnicodeString Msg, System::TVarRec const *Args, const int Args_Size) : System::Sysutils::Exception(Msg, Args, Args_Size) { }
/* Exception.CreateRes */ inline __fastcall TJSONException(int Ident)/* overload */ : System::Sysutils::Exception(Ident) { }
/* Exception.CreateResFmt */ inline __fastcall TJSONException(int Ident, System::TVarRec const *Args, const int Args_Size)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_Size) { }
/* Exception.CreateHelp */ inline __fastcall TJSONException(const System::UnicodeString Msg, int AHelpContext) : System::Sysutils::Exception(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall TJSONException(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 TJSONException(int Ident, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall TJSONException(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.DBXJSON.pas
Data.DBXJSON.hpp
Data.DBXJSON TJSONException

Beschreibung

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

Data.DBXJSON.TJSONException.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