Nuxeo Enterprise Platform 5.4

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 java.lang.Object
implements ExceptionHandlingListener

Listener doing nothing

Author:
arussel

Constructor Summary
NullExceptionHandlingListener()
           
 
Method Summary
 void afterDispatch(java.lang.Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void beforeForwardToErrorPage(java.lang.Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void beforeSetErrorPageAttribute(java.lang.Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void startHandling(java.lang.Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.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(java.lang.Throwable t,
                                     javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response)
                              throws java.io.IOException,
                                     javax.servlet.ServletException
Specified by:
beforeForwardToErrorPage in interface ExceptionHandlingListener
Throws:
java.io.IOException
javax.servlet.ServletException

beforeSetErrorPageAttribute

public void beforeSetErrorPageAttribute(java.lang.Throwable t,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws java.io.IOException,
                                        javax.servlet.ServletException
Specified by:
beforeSetErrorPageAttribute in interface ExceptionHandlingListener
Throws:
java.io.IOException
javax.servlet.ServletException

startHandling

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

Specified by:
startHandling in interface ExceptionHandlingListener
Throws:
java.io.IOException
javax.servlet.ServletException

afterDispatch

public void afterDispatch(java.lang.Throwable t,
                          javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.io.IOException,
                          javax.servlet.ServletException
Specified by:
afterDispatch in interface ExceptionHandlingListener
Throws:
java.io.IOException
javax.servlet.ServletException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.