Interface ApplicationContextFailureProcessor


public interface ApplicationContextFailureProcessor
Strategy for components that process failures related to application contexts within the Spring TestContext Framework.
Since:
6.0
Author:
Sam Brannen
See Also:
  • Method Details

    • processLoadFailure

      void processLoadFailure(ApplicationContext context, Throwable exception)
      Invoked when a failure was encountered while attempting to load an ApplicationContext.

      Implementations of this method must not throw any exceptions. Consequently, any exception thrown by an implementation of this method will be ignored.

      Parameters:
      context - the application context that did not load successfully
      exception - the exception caught while loading the application context