Skip to content

Throw ContextLoadException from SpringBootContextLoader #32995

@sbrannen

Description

@sbrannen

#31793 introduced a custom ApplicationContextFailureProcessor; however, that is half of the support needed for processing ApplicationContext load failures.

The other half is the new requirement that a SmartContextLoader catch any exception thrown in loadContext() and throw it wrapped in a ContextLoadException.

See #31793 (comment) for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions