{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

NoMatchingRootException

class NoMatchingRootException : RuntimeException, EspressoException

kotlin.Any
   ↳ kotlin.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.test.espresso.NoMatchingRootException

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

Summary

Public constructors

Public functions

java-static NoMatchingRootException!
create(rootMatcher: Matcher<Root!>!, roots: (Mutable)List<Root!>!)

Inherited functions

From class java.lang.Throwable

Public constructors

NoMatchingRootException

NoMatchingRootException()

Public functions

create

java-static fun create(rootMatcher: Matcher<Root!>!, roots: (Mutable)List<Root!>!): NoMatchingRootException!