API:PlatformAPI.EPlatformNotSupported.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const PlatformName: string);

Properties

Type Visibility Source Unit Parent
constructor public PlatformAPI.pas PlatformAPI EPlatformNotSupported

Description

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

PlatformAPI.EPlatformNotSupported.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

Code Examples