Class AbstractInjectionFailureAnalyzer<T extends Throwable>
java.lang.Object
org.springframework.boot.diagnostics.AbstractFailureAnalyzer<T>
org.springframework.boot.diagnostics.analyzer.AbstractInjectionFailureAnalyzer<T>
- Type Parameters:
T
- the type of exception to analyze
- All Implemented Interfaces:
FailureAnalyzer
public abstract class AbstractInjectionFailureAnalyzer<T extends Throwable>
extends AbstractFailureAnalyzer<T>
Abstract base class for a
FailureAnalyzer
that handles some kind of injection
failure.- Since:
- 1.4.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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.Methods inherited from class org.springframework.boot.diagnostics.AbstractFailureAnalyzer
analyze, findCause, getCauseType
-
Constructor Details
-
AbstractInjectionFailureAnalyzer
public AbstractInjectionFailureAnalyzer()
-
-
Method Details
-
analyze
Description copied from class:AbstractFailureAnalyzer
Returns an analysis of the givenrootFailure
, ornull
if no analysis was possible.- Specified by:
analyze
in classAbstractFailureAnalyzer<T extends Throwable>
- Parameters:
rootFailure
- the root failure passed to the analyzercause
- the actual found cause- Returns:
- the analysis or
null
-
analyze
Returns an analysis of the givenrootFailure
, ornull
if no analysis was possible.- Parameters:
rootFailure
- the root failure passed to the analyzercause
- the actual found causedescription
- the description of the injection point ornull
- Returns:
- the analysis or
null
-