Closed
Description
Overview
ExceptionTypeFilter
currently only supports matching against an exception type. However, most use cases involve matching against an exception instance. Moreover, every use case within the core Spring Framework uses ExceptionTypeFilter
to match against concrete exception instances.
We should therefore introduce an overloaded match(Throwable)
method in ExceptionTypeFilter
in order to provide support for the most common use cases.