Class AbstractFailureAnalyzer<T extends Throwable>

    • Method Detail

      • analyze

        protected abstract FailureAnalysis analyze​(Throwable rootFailure,
                                                   T cause)
        Returns an analysis of the given rootFailure, or null if no analysis was possible.
        Parameters:
        rootFailure - the root failure passed to the analyzer
        cause - the actual found cause
        Returns:
        the analysis or null
      • getCauseType

        protected Class<? extends TgetCauseType()
        Return the cause type being handled by the analyzer. By default the class generic is used.
        Returns:
        the cause type