spring-framework / org.springframework.web.servlet.handler / HandlerExceptionResolverComposite / resolveException

resolveException

@Nullable open fun resolveException(request: HttpServletRequest, response: HttpServletResponse, @Nullable handler: Any, ex: Exception): ModelAndView

Resolve the exception by iterating over the list of configured exception resolvers. The first one to return a ModelAndView instance wins. Otherwise null is returned.