public class HandlerExceptionResolverComposite extends Object implements HandlerExceptionResolver, Ordered
HandlerExceptionResolver that delegates to a list of other
 HandlerExceptionResolvers.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
| HandlerExceptionResolverComposite() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HandlerExceptionResolver> | getExceptionResolvers()Return the list of exception resolvers to delegate to. | 
| int | getOrder()Get the order value of this object. | 
| ModelAndView | resolveException(HttpServletRequest request,
                HttpServletResponse response,
                Object handler,
                Exception ex)Resolve the exception by iterating over the list of configured exception resolvers. | 
| void | setExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)Set the list of exception resolvers to delegate to. | 
| void | setOrder(int order) | 
public void setExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)
public List<HandlerExceptionResolver> getExceptionResolvers()
public void setOrder(int order)
public int getOrder()
OrderedHigher values are interpreted as lower priority. As a consequence,
 the object with the lowest value has the highest priority (somewhat
 analogous to Servlet load-on-startup values).
 
Same order values will result in arbitrary sort positions for the affected objects.
getOrder in interface OrderedOrdered.HIGHEST_PRECEDENCE, 
Ordered.LOWEST_PRECEDENCE@Nullable public ModelAndView resolveException(HttpServletRequest request, HttpServletResponse response, @Nullable Object handler, Exception ex)
The first one to return a ModelAndView wins. Otherwise null is returned.
resolveException in interface HandlerExceptionResolverrequest - current HTTP requestresponse - current HTTP responsehandler - the executed handler, or null if none chosen at the
 time of the exception (for example, if multipart resolution failed)ex - the exception that got thrown during handler executionModelAndView to forward to,
 or null for default processing in the resolution chain