Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.web.common.exceptionhandling.service
Class NullExceptionHandlingListener

java.lang.Object
  extended by org.nuxeo.ecm.platform.web.common.exceptionhandling.service.NullExceptionHandlingListener
All Implemented Interfaces:
ExceptionHandlingListener
Direct Known Subclasses:
SeamExceptionHandlingListener

public class NullExceptionHandlingListener
extends Object
implements ExceptionHandlingListener

Listener doing nothing.

Author:
arussel

Constructor Summary
NullExceptionHandlingListener()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullExceptionHandlingListener

public NullExceptionHandlingListener()
Method Detail

beforeForwardToErrorPage

public void beforeForwardToErrorPage(Throwable t,
                                     HttpServletRequest request,
                                     HttpServletResponse response)
                              throws IOException,
                                     ServletException
Specified by:
beforeForwardToErrorPage in interface ExceptionHandlingListener
Throws:
IOException
ServletException

beforeSetErrorPageAttribute

public void beforeSetErrorPageAttribute(Throwable t,
                                        HttpServletRequest request,
                                        HttpServletResponse response)
                                 throws IOException,
                                        ServletException
Specified by:
beforeSetErrorPageAttribute in interface ExceptionHandlingListener
Throws:
IOException
ServletException

startHandling

public void startHandling(Throwable t,
                          HttpServletRequest request,
                          HttpServletResponse response)
                   throws IOException,
                          ServletException
Description copied from interface: ExceptionHandlingListener
Error has happened, things to do before error is dealt with.

Specified by:
startHandling in interface ExceptionHandlingListener
Throws:
IOException
ServletException

afterDispatch

public void afterDispatch(Throwable t,
                          HttpServletRequest request,
                          HttpServletResponse response)
                   throws IOException,
                          ServletException
Specified by:
afterDispatch in interface ExceptionHandlingListener
Throws:
IOException
ServletException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.