Package org.springframework.test.context
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 Summary
Modifier and TypeMethodDescriptionvoid
processLoadFailure
(ApplicationContext context, Throwable exception) Invoked when a failure was encountered while attempting to load anApplicationContext
.
-
Method Details
-
processLoadFailure
Invoked when a failure was encountered while attempting to load anApplicationContext
.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 successfullyexception
- the exception caught while loading the application context
-