Summary: | [Expand All]

# EspressoException

`public interface EspressoException`
``

android.support.test.espresso.EspressoException

Known Indirect Subclasses AmbiguousElementMatcherException, AmbiguousViewMatcherException, AppNotIdleException, IdlingResourceTimeoutException, InjectEventSecurityException, NoActivityResumedException, NoMatchingRootException, NoMatchingViewException, PerformException
AmbiguousElementMatcherException | An exception which indicates that for a given XPath there were multiple Elements found when only 1 element was expected.
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 `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 `Root`s (windows) from those that are currently available.
NoMatchingViewException | Indicates that a given matcher did not match any elements in the view hierarchy.
PerformException | Indicates that an exception occurred while performing a ViewAction on the UI thread.

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

- ## Interfaces

  - BaseLayerComponent
  - EspressoException
  - FailureHandler
  - IdlingResource
  - IdlingResource.ResourceCallback
  - UiController
  - ViewAction
  - ViewAssertion
  - ViewFinder
  - ViewInteractionComponent

- ## Classes

  - AmbiguousViewMatcherException.Builder
  - DataInteraction
  - Espresso
  - GraphHolder
  - IdlingPolicies
  - IdlingPolicy
  - NoMatchingViewException.Builder
  - PerformException.Builder
  - Root
  - Root.Builder
  - ViewInteraction

- ## Exceptions

  - AmbiguousViewMatcherException
  - AppNotIdleException
  - IdlingResourceTimeoutException
  - InjectEventSecurityException
  - NoActivityResumedException
  - NoMatchingRootException
  - NoMatchingViewException
  - PerformException