Show: Delphi C++
Display Preferences

Data.DBXJSON.TJSONException.Create

From XE2 API Documentation
Jump to: navigation, search

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) { }

Properties

Type Visibility Source Unit Parent
constructor public
Data.DBXJSON.pas
Data.DBXJSON.hpp
Data.DBXJSON TJSONException

Description

Instantiates an instance of an exception with a simple message string.

Data.DBXJSON.TJSONException.Create inherits from System.SysUtils.Exception.Create. All content below this line refers to System.SysUtils.Exception.Create.

Instantiates an instance of an exception with a simple message string.

Call Create to construct an exception object with a simple message string.

Msg is the string containing the run-time error message to display in the exception dialog box. Msg can be a hard-coded string or can be a function call that returns a string.

See Also

Personal tools
Previous Versions
Translations