public interface

EspressoException

implements TestFrameworkException
androidx.test.espresso.EspressoException
Known Indirect Subclasses
AmbiguousViewMatcherException An exception which indicates that a Matcher matched multiple views in the hierarchy when only one view was expected. 
AppNotIdleException An exception which indicates that the App has not become idle even after the specified duration. 
IdlingResourceTimeoutException Indicates that an ERROR(/IdlingResource), which has been registered with the framework, has not idled within the allowed time. 
InjectEventSecurityException An checked Exception indicating that event injection failed with a SecurityException
NoActivityResumedException An exception which indicates that there are no activities in stage RESUMED. 
NoMatchingRootException Indicates that a given matcher did not match any Roots (windows) from those that are currently available. 
NoMatchingViewException Indicates that a given matcher did not match any elements in the view hierarchy. 
NoRemoteEspressoInstanceException An Exception which indicates that there are no remote Espresso clients present. 
PerformException Indicates that an exception occurred while performing a ViewAction on the UI thread. 
RemoteEspressoException Espresso exception representing any runtime related errors in a multi-process environment  
RemoteProtocolException Espresso exception representing any protocol related errors in a multi-process environment  

Class Overview

Used for identifying an exception as coming from the Espresso framework.