AppDiedException

class AppDiedException(val deaths: List<AppDeath>, cause: Throwable? = null) : TapException(source)

A watched app died during a Device.guard / App.guard block, or during a test (the JUnit extension's end-of-test check). deaths are the deaths, oldest first; death the first.

When a command in the block failed because of the death, that CommandException is the cause. When the block failed in another way, that failure is suppressed (suppressed): the death is the likelier reason.

Constructors

Link copied to clipboard
constructor(deaths: List<AppDeath>, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard

Partial scan evidence, without replacing the original command error type/code.

Link copied to clipboard
Link copied to clipboard