HandlerExceptionResolver that delegates to a list of other
HandlerExceptionResolvers.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public int | |
| public ModelAndView | resolveException(HttpServletRequest
current HTTP request request, HttpServletResponse current HTTP response response, Object the executed handler, or handler, Exception null if none chosen at the
time of the exception (for example, if multipart resolution failed)the exception that got thrown during handler execution ex)Implements org. Resolve the exception by iterating over the list of configured exception resolvers. |
| public void | setExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)
Set the list of exception resolvers to delegate to. |
| public void |
| order | back to summary |
|---|---|
| private int order | |
| resolvers | back to summary |
|---|---|
| private List<HandlerExceptionResolver> resolvers
| |
| HandlerExceptionResolverComposite | back to summary |
|---|---|
| public HandlerExceptionResolverComposite() | |
| getExceptionResolvers | back to summary |
|---|---|
| public List Return the list of exception resolvers to delegate to. | |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. Get the order value of this object. Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet Same order values will result in arbitrary sort positions for the affected objects.
| |
| resolveException | back to summary |
|---|---|
| public ModelAndView resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Implements org. Resolve the exception by iterating over the list of configured exception resolvers. The first one to return a
| |
| setExceptionResolvers | back to summary |
|---|---|
| public void setExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers) Set the list of exception resolvers to delegate to. | |
| setOrder | back to summary |
|---|---|
| public void setOrder(int order) | |