System.SysUtils.Exception.Message

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Message: string read FMessage write FMessage;

C++

__property System::UnicodeString Message = {read=FMessage, write=FMessage};

Properties

Type Visibility Source Unit Parent
property public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils Exception

Description

Message contains the text string to display in the exception dialog box when the exception is raised.

Message stores the error-message string to display when the exception is raised. All Exception constructors expect a string parameter to store in Message. Message text can be hard-coded as a parameter to an Exception constructor, created as dynamic parameter, or loaded from a resource file as a static or dynamically formatted parameter.

See Also