Main Content

matlab.unittest.qualifications.ExceptionEventData Class

Namespace: matlab.unittest.qualifications
Superclasses: event.EventData

Event data for ExceptionThrown event listeners

Description

The matlab.unittest.qualifications.ExceptionEventData class holds event data for ExceptionThrown event listeners. ExceptionThrown event listeners are callback functions that you register with the testing framework to listen for the test runner to encounter an error during execution of test content.

The testing framework instantiates this class. You cannot create an object of the matlab.unittest.qualifications.ExceptionEventData class directly.

The matlab.unittest.qualifications.ExceptionEventData class is a handle class.

Properties

expand all

Unexpected exception caught by the test runner during its execution of test content, returned as an MException object.

Attributes:

GetAccess
public
SetAccess
immutable

Version History

Introduced in R2014a