Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

NoActivityResumedException

public final class NoActivityResumedException
extends RuntimeException implements EspressoException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.test.espresso.NoActivityResumedException


An exception which indicates that there are no activities in stage RESUMED.

Summary

Public constructors

NoActivityResumedException(String description)
NoActivityResumedException(String description, Throwable cause)

Inherited methods

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

Public constructors

NoActivityResumedException

NoActivityResumedException (String description)

Parameters
description String

NoActivityResumedException

NoActivityResumedException (String description, 
                Throwable cause)

Parameters
description String

cause Throwable