Skip to content

Most visited

Recently visited

navigation

NoMatchingRootException

public final class NoMatchingRootException
extends RuntimeException implements EspressoException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.support.test.espresso.NoMatchingRootException


Indicates that a given matcher did not match any Roots (windows) from those that are currently available.

Summary

Public methods

static NoMatchingRootException create(Matcher<Root> rootMatcher, List<Root> roots)

Inherited methods

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

Public methods

create

NoMatchingRootException create (Matcher<Root> rootMatcher, 
                List<Root> roots)

Parameters
rootMatcher Matcher
roots List
Returns
NoMatchingRootException
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.