Interface FailureAnalyzer
- All Known Implementing Classes:
AbstractFailureAnalyzer
,AbstractInjectionFailureAnalyzer
,BeanNotOfRequiredTypeFailureAnalyzer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
FailureAnalyzer
is used to analyze a failure and provide diagnostic
information that can be displayed to the user.- Since:
- 1.4.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns an analysis of the givenfailure
, ornull
if no analysis was possible.
-
Method Details
-
analyze
Returns an analysis of the givenfailure
, ornull
if no analysis was possible.- Parameters:
failure
- the failure- Returns:
- the analysis or
null
-