|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.sfweb.exceptionhandler.EpSystemExceptionHandler
public class EpSystemExceptionHandler
EpSystemExceptionHandler
is to handle any exception that is bubbled up to the web layer.
Field Summary |
---|
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
EpSystemExceptionHandler()
|
Method Summary | |
---|---|
int |
getOrder()
Gets the order of the current exception handler. |
org.springframework.web.servlet.ModelAndView |
resolveException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler,
java.lang.Exception exception)
Receive any exception that is not caught under contoller layer. |
void |
setOrder(int order)
Sets the order of the current exception handler. |
void |
setViewName(java.lang.String viewName)
Sets the static view name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EpSystemExceptionHandler()
Method Detail |
---|
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public org.springframework.web.servlet.ModelAndView resolveException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler, java.lang.Exception exception)
resolveException
in interface org.springframework.web.servlet.HandlerExceptionResolver
request
- - the requestresponse
- - the responsehandler
- - the current handler.exception
- - the exception to be handled.
public void setOrder(int order)
order
- the order to setpublic final void setViewName(java.lang.String viewName)
viewName
- - the static view name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |