UiObjectNotFoundException


public class UiObjectNotFoundException extends Exception


Generated in test runs when a UiSelector selector could not be matched to any UI element displayed.

Summary

Public constructors

UiObjectNotFoundException(
    @NonNull String detailMessage,
    @Nullable Throwable throwable
)

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

UiObjectNotFoundException

Added in 2.2.0
public UiObjectNotFoundException(@NonNull String msg)

UiObjectNotFoundException

Added in 2.2.0
public UiObjectNotFoundException(@Nullable Throwable throwable)

UiObjectNotFoundException

Added in 2.2.0
public UiObjectNotFoundException(
    @NonNull String detailMessage,
    @Nullable Throwable throwable
)