接口 FailureHandler
public interface FailureHandler
Strategy used to handle launch failures.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static class
FailureHandler.Outcome
Various outcomes for the handler.
字段概要
字段 修饰符和类型 字段 说明 static FailureHandler
NONE
FailureHandler
that always aborts.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 FailureHandler.Outcome
handle(Throwable failure)
Handle a run failure.
字段详细资料
NONE
static final FailureHandler NONE
FailureHandler
that 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