类 AbstractInjectionFailureAnalyzer<T extends Throwable>
java.lang.Object
org.springframework.boot.diagnostics.AbstractFailureAnalyzer<T>
org.springframework.boot.diagnostics.analyzer.AbstractInjectionFailureAnalyzer<T>
- 类型参数:
T
- the type of exception to analyze
- 所有已实现的接口:
FailureAnalyzer
public abstract class AbstractInjectionFailureAnalyzer<T extends Throwable>
extends AbstractFailureAnalyzer<T>
Abstract base class for a
FailureAnalyzer
that handles some kind of injection
failure.- 从以下版本开始:
- 1.4.1
- 作者:
- Andy Wilkinson, Stephane Nicoll
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected final FailureAnalysis
Returns an analysis of the givenrootFailure
, ornull
if no analysis was possible.protected abstract FailureAnalysis
Returns an analysis of the givenrootFailure
, ornull
if no analysis was possible.从类继承的方法 org.springframework.boot.diagnostics.AbstractFailureAnalyzer
analyze, findCause, getCauseType
-
构造器详细资料
-
AbstractInjectionFailureAnalyzer
public AbstractInjectionFailureAnalyzer()
-
-
方法详细资料
-
analyze
从类复制的说明:AbstractFailureAnalyzer
Returns an analysis of the givenrootFailure
, ornull
if no analysis was possible.- 指定者:
analyze
在类中AbstractFailureAnalyzer<T extends Throwable>
- 参数:
rootFailure
- the root failure passed to the analyzercause
- the actual found cause- 返回:
- the analysis or
null
-
analyze
Returns an analysis of the givenrootFailure
, ornull
if no analysis was possible.- 参数:
rootFailure
- the root failure passed to the analyzercause
- the actual found causedescription
- the description of the injection point ornull
- 返回:
- the analysis or
null
-