Exception.CreateResFmt

Constructs a new exception object and formats the message from a resource.

Declaration

Source position: sysutilh.inc line 115

public 
  constructor CreateResFmt(ResString: PString; const Args: Array of const);

Description

CreateResFmt does the same as CreateFmt , but fetches the message from the resource string ResString.

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.CreateFmt Constructs a new exception object and formats a new message.
Exception.CreateRes Constructs a new exception object and gets the message from a resource.
Exception.Message Message associated with the exception.