AifFault::logWarning Method [AX 2012]

Logs the fault as a warning.

client server public static void logWarning(
    str _reason, 
   [str _code, 
    URL _helpURL, 
    container _reasonParameters])

Run On

Called

Parameters

_reason
Type: str
The reason for the fault.
_code
Type: str
The code of the fault; optional.
_helpURL
Type: URL Extended Data Type
A URL that specifies the path of the internal Help system that can be used to open the Help viewer and present longer, explanatory text; optional.
_reasonParameters
Type: container
A container that contains the parameters that are used in when the _reason String is created via strFmt; optional.

If the value of the _reason parameter is a label ID (i.e. in the form "@SYSnnnnn"), strFmt will be used to create a reason String by substituting the value of the _parameters parameter.

Show: