This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Investigating the Possibility of Supporting Multiple Refiners #77
Labels
enhancement
New feature or request
Synopsis
Currently, one can only register at most one
ExceptionRefiner
instance to refine exceptions before processing them. That might be useful to extend this feature in a way that it supports multiple refiners.Possible Use Cases
It's a common pattern to wrap some exceptions into other exceptions which are more appropriate to a particular abstraction level. For example, when Jackson fails to de-serialize a byte-array into a POJO, the thrown exception will be wrapped inside a Spring exception. The only way for us to handle those Jackson exceptions is to:
WebErrorHandler
.The text was updated successfully, but these errors were encountered: