The information in this topic may be out of date. The current SDK reference guide has moved here.

getException method

Class: TestResultContainerPlatform: EspressoLanguage: Java SDK:

Returns an indication if the test failed with an exception.


Throwable value = obj.getException();


This method does not take any parameters.

Return value

Type: Throwable
A value that is not null indicates that an exception occured when running the test.