T
- the type of exception to analyzepublic abstract class AbstractInjectionFailureAnalyzer<T extends 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(Throwable rootFailure,
T cause)
Returns an analysis of the given
rootFailure , or null if no
analysis was possible. |
protected abstract FailureAnalysis |
analyze(Throwable rootFailure,
T cause,
String description)
Returns an analysis of the given
rootFailure , or null if no
analysis was possible. |
analyze, findCause, getCauseType
protected final FailureAnalysis analyze(Throwable rootFailure, T cause)
AbstractFailureAnalyzer
rootFailure
, or null
if no
analysis was possible.analyze
in class AbstractFailureAnalyzer<T extends Throwable>
rootFailure
- the root failure passed to the analyzercause
- the actual found causenull
protected abstract FailureAnalysis analyze(Throwable rootFailure, T cause, 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
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.