mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 08:19:01 +00:00
Prior to this commit, ExceptionTypeFilter only provided support for filtering based on exact matches against exception types; however, some use cases require that filtering be applied to nested causes in a given exception. For example, this functionality is a prerequisite for gh-35583. This commit introduces a new match(Throwable, boolean) method in ExceptionTypeFilter, where the boolean flag enables matching against nested exceptions. See gh-35583 Closes gh-35592