Skip to content

Most visited

Recently visited

navigation

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: 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 classes

class PerformException.Builder

Builder for PerformException

Public methods

String getActionDescription()
String getViewDescription()

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public methods

getActionDescription

String getActionDescription ()

Returns
String

getViewDescription

String getViewDescription ()

Returns
String
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.