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

public UiObjectNotFoundException(@NonNull String msg)

UiObjectNotFoundException

public UiObjectNotFoundException(@Nullable Throwable throwable)

UiObjectNotFoundException

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