| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.web.servlet.handler.HandlerExceptionResolverComposite
public class HandlerExceptionResolverComposite
A HandlerExceptionResolver that delegates to a list of other HandlerExceptionResolvers.
| Field Summary | 
|---|
| Fields inherited from interface org.springframework.core.Ordered | 
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE | 
| Constructor Summary | |
|---|---|
HandlerExceptionResolverComposite()
 | 
|
| Method Summary | |
|---|---|
 List<HandlerExceptionResolver> | 
getExceptionResolvers()
Return the list of exception resolvers to delegate to.  | 
 int | 
getOrder()
Return the order value of this object, with a higher value meaning greater in terms of sorting.  | 
 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)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public HandlerExceptionResolverComposite()
| Method Detail | 
|---|
public void setOrder(int order)
public int getOrder()
OrderedNormally starting with 0, with Integer.MAX_VALUE
 indicating the greatest value. Same order values will result
 in arbitrary positions for the affected objects.
 
Higher values can be interpreted as lower priority. As a consequence, the object with the lowest value has highest priority (somewhat analogous to Servlet "load-on-startup" values).
getOrder in interface Orderedpublic void setExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)
public List<HandlerExceptionResolver> getExceptionResolvers()
public ModelAndView resolveException(HttpServletRequest request,
                                     HttpServletResponse response,
                                     Object handler,
                                     Exception ex)
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 execution
null for default processing
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||