RTRReportResult.MockException

This class is used to create mock exceptions for the unit test execution.

The RTRReportResult.MockException class extends Exception.

The supported modifier is global.

Method signatureDescriptionVersion
RTRReportResult.MockException​(String message)The constructor for creating mock exceptions for the unit test execution.
message: String. The message to return as part of the exception.
60.0

To unit test error handling scenarios, set up a mock exception to be thrown during execution.