SysTestCase.exceptionMessage Method [AX 2012]

Gets the exception message of the expected exception.

Syntax

public str exceptionMessage()

Run On

Called

Return Value

Type: str
The exception message of the expected exception; otherwise, an empty string.

Remarks

This method is for internal use and should not be overridden. Use the parmExceptionExpected method instead.

See Also

SysTestCase Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework