public final class PerformException extends RuntimeException implements EspressoException


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: FailureHandlers 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 types

Builder for PerformException.

Public fields

final String
final String

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public fields

actionDescription

public final String actionDescription

viewDescription

public final String viewDescription

Public methods

getActionDescription

public String getActionDescription()

getViewDescription

public String getViewDescription()