Exception.CreateFmt

Constructs a new exception object and formats a new message.

Declaration

Source position: sysutilh.inc line 113

public 
  constructor CreateFmt(const msg: string; const args: Array of const);

Errors

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

See also

Name Description
Exception.Create Constructs a new exception object with a given message.
Exception.Message Message associated with the exception.
Format Format a string with given arguments.