Nuxeo ECM Projects 5.4.3-SNAPSHOT

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:

Author:
arussel

Method Summary
 void afterDispatch(Throwable t, HttpServletRequest request, HttpServletResponse response)
           
 void beforeForwardToErrorPage(Throwable t, HttpServletRequest request, HttpServletResponse response)
           
 void beforeSetErrorPageAttribute(Throwable t, HttpServletRequest request, HttpServletResponse response)
           
 void startHandling(Throwable t, HttpServletRequest request, HttpServletResponse response)
          Error has happened, things to do before error is dealt with.
 

Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.