[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

Exception.Create

Constructs a new exception object with a given message.

Declaration

Source position: sysutilh.inc line 71

public constructor Exception.Create(

  const msg: String

);

Errors

Construction may fail if there is not enough memory on the heap.

See also

Exception.CreateFmt

  

Constructs a new exception object and formats a new message.

Exception.Message

  

Message associated with the exception.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.