PerformException
public final class PerformException
extends RuntimeException
implements EspressoException
java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | android.support.test.espresso.PerformException |
Indicates that an exception occurred while performing a ViewAction on the UI thread.
A description of the ViewAction
, the view being performed on and the cause are included in the error. Note: FailureHandler
s can mutate the exception later to make it more user friendly.
This is generally not recoverable so it is thrown on the instrumentation thread.
Summary
Nested classes | |
---|---|
class | PerformException.Builder Builder for |
Public methods | |
---|---|
String | getActionDescription() |
String | getViewDescription() |
Inherited methods | |
---|---|
![]() java.lang.Throwable | |
![]() java.lang.Object |
Public methods
Interfaces
Classes
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]