接口 FailureAnalyzer
- 所有已知实现类:
AbstractFailureAnalyzer
,AbstractInjectionFailureAnalyzer
,BeanNotOfRequiredTypeFailureAnalyzer
public interface FailureAnalyzer
AFailureAnalyzer
is used to analyze a failure and provide diagnostic information that can be displayed to the user.- 从以下版本开始:
- 1.4.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 FailureAnalysis
analyze(Throwable failure)
Returns an analysis of the givenfailure
, ornull
if no analysis was possible.
方法详细资料
analyze
FailureAnalysis analyze(Throwable failure)
Returns an analysis of the givenfailure
, ornull
if no analysis was possible.- 参数:
failure
- the failure- 返回:
- the analysis or
null