接口 FailureAnalyzer
- 所有已知实现类:
AbstractFailureAnalyzer
,AbstractInjectionFailureAnalyzer
,BeanNotOfRequiredTypeFailureAnalyzer
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
A
FailureAnalyzer
is used to analyze a failure and provide diagnostic
information that can be displayed to the user.- 从以下版本开始:
- 1.4.0
- 作者:
- Andy Wilkinson
-
方法概要
修饰符和类型方法说明Returns an analysis of the givenfailure
, ornull
if no analysis was possible.
-
方法详细资料
-
analyze
Returns an analysis of the givenfailure
, ornull
if no analysis was possible.- 参数:
failure
- the failure- 返回:
- the analysis or
null
-