Skip to content

Exception.CreateRes

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

Declaration

Source position: sysutilh.inc line 114

public 
  constructor CreateRes(ResString: PString);

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