T
- 分析する例外の型 public abstract class AbstractFailureAnalyzer<T extends ThrowableSE> extends ObjectSE implements FailureAnalyzer
FailureAnalyzer
実装の抽象基本クラス。コンストラクターと説明 |
---|
AbstractFailureAnalyzer() |
修飾子と型 | メソッドと説明 |
---|---|
FailureAnalysis | analyze(ThrowableSE failure) 指定された failure の分析、または分析が不可能な場合は null の分析を返します。 |
protected abstract FailureAnalysis | analyze(ThrowableSE rootFailure, T cause) 指定された rootFailure の分析、または分析が不可能な場合は null の分析を返します。 |
protected <E extends ThrowableSE> | findCause(ThrowableSE failure, ClassSE<E> type) |
protected ClassSE<? extends T> | getCauseType() アナライザーによって処理されている原因型を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public FailureAnalysis analyze(ThrowableSE failure)
FailureAnalyzer
failure
の分析、または分析が不可能な場合は null
の分析を返します。FailureAnalyzer
の analyze
failure
- 失敗 null
protected abstract FailureAnalysis analyze(ThrowableSE rootFailure, T cause)
rootFailure
の分析、または分析が不可能な場合は null
の分析を返します。rootFailure
- アナライザーに渡された根本的な障害 cause
- 実際に見つかった原因 null
protected ClassSE<? extends T> getCauseType()
protected final <E extends ThrowableSE> E findCause(ThrowableSE failure, ClassSE<E> type)