org.nuxeo.ecm.platform.web.common.exceptionhandling.service
Interface ExceptionHandlingListener
- All Known Implementing Classes:
- NullExceptionHandlingListener, SeamExceptionHandlingListener
public interface ExceptionHandlingListener
Listener performing operations when dealing with an error. Order of methods
called:
- 1. startHandling
- 2. beforeSetErrorPageAttribute
- 3. beforeForwardToErrorPage
- 4. afterDispatch
- Author:
- arussel
startHandling
void startHandling(Throwable t,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Error has happened, things to do before error is dealt with.
- Throws:
IOException
ServletException
beforeSetErrorPageAttribute
void beforeSetErrorPageAttribute(Throwable t,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Throws:
IOException
ServletException
beforeForwardToErrorPage
void beforeForwardToErrorPage(Throwable t,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Throws:
IOException
ServletException
afterDispatch
void afterDispatch(Throwable t,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Throws:
IOException
ServletException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.