Interface FailureAnalyzer
- All Known Implementing Classes:
AbstractFailureAnalyzer
,AbstractInjectionFailureAnalyzer
,BeanNotOfRequiredTypeFailureAnalyzer
public interface FailureAnalyzer
AFailureAnalyzer
is used to analyze a failure and provide diagnostic information that can be displayed to the user.- Since:
- 1.4.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FailureAnalysis
analyze(Throwable failure)
Returns an analysis of the givenfailure
, ornull
if no analysis was possible.
Method Detail
analyze
FailureAnalysis analyze(Throwable failure)
Returns an analysis of the givenfailure
, ornull
if no analysis was possible.- Parameters:
failure
- the failure- Returns:
- the analysis or
null