Share via


SysTestCase.exceptionExpected Method [AX 2012]

Indicates whether the current test is expected to throw an exception.

Syntax

public boolean exceptionExpected()

Run On

Called

Return Value

Type: boolean
true if an exception is expected; otherwise, false.

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