インターフェース Instantiator.FailureHandler

含まれているクラス:
Instantiator<T>

public static interface Instantiator.FailureHandler
型をインスタンス化するときに発生する障害を処理するための戦略。
導入:
2.7.0
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    handleFailure(ClassSE<?> type, StringSE implementationName, ThrowableSE failure)
    指定された typeSupplier であると予想された type をインスタンス化するときに発生した failure を処理します。
  • メソッドの詳細

    • handleFailure

      void handleFailure(ClassSE<?> type, StringSE implementationName, ThrowableSE failure)
      指定された typeSupplier であると予想された type をインスタンス化するときに発生した failure を処理します。
      パラメーター:
      type - 型
      implementationName - 実装型の名前
      failure - 発生した障害