StaleObjectException


public class StaleObjectException extends RuntimeException


A StaleObjectException exception is thrown when a UiObject2 is used after the underlying android.view.View has been destroyed. In this case, it is necessary to call findObject to obtain a new UiObject2 instance.

Summary

Public constructors

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public constructors

StaleObjectException

Added in 2.2.0
public StaleObjectException()