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

Screenshot.ScreenShotException

public final class Screenshot.ScreenShotException extends RuntimeException

java.lang.Object
   ↳ kotlin.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.test.runner.screenshot.Screenshot.ScreenShotException

An Exception associated with failing to capture a screenshot.

Summary

Public constructors

Inherited methods

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

Inherited fields

From class java.lang.Throwable
Throwable
StackTraceElement[]

Public constructors

ScreenShotException

public final ScreenShotException()