类 AbstractInjectionFailureAnalyzer<T extends Throwable>

java.lang.Object
org.springframework.boot.diagnostics.AbstractFailureAnalyzer<T>
org.springframework.boot.diagnostics.analyzer.AbstractInjectionFailureAnalyzer<T>
类型参数:
T - the type of exception to analyze
所有已实现的接口:
FailureAnalyzer

public abstract class AbstractInjectionFailureAnalyzer<T extends Throwable> extends AbstractFailureAnalyzer<T>
Abstract base class for a FailureAnalyzer that handles some kind of injection failure.
从以下版本开始:
1.4.1
作者:
Andy Wilkinson, Stephane Nicoll
  • 构造器详细资料

    • AbstractInjectionFailureAnalyzer

      public AbstractInjectionFailureAnalyzer()
  • 方法详细资料

    • analyze

      protected final FailureAnalysis analyze(Throwable rootFailure, T cause)
      从类复制的说明: AbstractFailureAnalyzer
      Returns an analysis of the given rootFailure, or null if no analysis was possible.
      指定者:
      analyze 在类中 AbstractFailureAnalyzer<T extends Throwable>
      参数:
      rootFailure - the root failure passed to the analyzer
      cause - the actual found cause
      返回:
      the analysis or null
    • analyze

      protected abstract FailureAnalysis analyze(Throwable rootFailure, T cause, String description)
      Returns an analysis of the given rootFailure, or null if no analysis was possible.
      参数:
      rootFailure - the root failure passed to the analyzer
      cause - the actual found cause
      description - the description of the injection point or null
      返回:
      the analysis or null