Skip to content

Exception.Create

Constructs a new exception object with a given message.

Declaration

Source position: sysutilh.inc line 124

public 
constructor Exception.Create(const msg: string);

Errors

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

See also

Name Description
Exception.CreateFmt Constructs a new exception object and formats a new message.
Exception.Message Message associated with the exception.