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.

@FunctionalInterface public interface FailureAnalyzer
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 Type
    Method
    Description
    analyze(Throwable failure)
    Returns an analysis of the given failure, or null if no analysis was possible.
  • Method Details

    • analyze

      FailureAnalysis analyze(Throwable failure)
      Returns an analysis of the given failure, or null if no analysis was possible.
      Parameters:
      failure - the failure
      Returns:
      the analysis or null