T
- the type of exception to analyzepublic abstract class AbstractInjectionFailureAnalyzer<T extends java.lang.Throwable> extends AbstractFailureAnalyzer<T>
FailureAnalyzer
that handles some kind of injection
failure.Constructor and Description |
---|
AbstractInjectionFailureAnalyzer() |
Modifier and Type | Method and Description |
---|---|
protected FailureAnalysis |
analyze(java.lang.Throwable rootFailure,
T cause)
Returns an analysis of the given
rootFailure , or null if no
analysis was possible. |
protected abstract FailureAnalysis |
analyze(java.lang.Throwable rootFailure,
T cause,
java.lang.String description)
Returns an analysis of the given
rootFailure , or null if no
analysis was possible. |
analyze, findCause, getCauseType
protected final FailureAnalysis analyze(java.lang.Throwable rootFailure, T cause)
AbstractFailureAnalyzer
rootFailure
, or null
if no
analysis was possible.analyze
in class AbstractFailureAnalyzer<T extends java.lang.Throwable>
rootFailure
- the root failure passed to the analyzercause
- the actual found causenull
protected abstract FailureAnalysis analyze(java.lang.Throwable rootFailure, T cause, java.lang.String description)
rootFailure
, or null
if no
analysis was possible.rootFailure
- the root failure passed to the analyzercause
- the actual found causedescription
- the description of the injection point or null
null