Class BeanNotOfRequiredTypeFailureAnalyzer

    • Method Detail

      • analyze

        protected FailureAnalysis analyze​(Throwable rootFailure,
                                          org.springframework.beans.factory.BeanNotOfRequiredTypeException cause)
        Description copied from class: AbstractFailureAnalyzer
        Returns an analysis of the given rootFailure, or null if no analysis was possible.
        Specified by:
        analyze in class AbstractFailureAnalyzer<org.springframework.beans.factory.BeanNotOfRequiredTypeException>
        Parameters:
        rootFailure - the root failure passed to the analyzer
        cause - the actual found cause
        Returns:
        the analysis or null