接口 FailureHandler
public interface FailureHandler
Strategy used to handle launch failures.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static classFailureHandler.OutcomeVarious outcomes for the handler.
字段概要
字段 修饰符和类型 字段 说明 static FailureHandlerNONEFailureHandlerthat always aborts.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 FailureHandler.Outcomehandle(Throwable failure)Handle a run failure.
字段详细资料
NONE
static final FailureHandler NONE
FailureHandlerthat always aborts.
方法详细资料
handle
FailureHandler.Outcome handle(Throwable failure)
Handle a run failure. Implementations may block, for example to wait until specific files are updated.- 参数:
failure- the exception- 返回:
- the outcome