Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingComponent
All Implemented Interfaces:
ExceptionHandlingService, Adaptable, Component, Extensible

public class ExceptionHandlingComponent
extends DefaultComponent
implements ExceptionHandlingService

Author:
arussel, Benjamin JALON

Nested Class Summary
static class ExceptionHandlingComponent.ExtensionPoint
           
 
Constructor Summary
ExceptionHandlingComponent()
           
 
Method Summary
 void forwardToErrorPage(HttpServletRequest request, HttpServletResponse response, Throwable t)
           
 NuxeoExceptionHandler getExceptionHandler()
           
 void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterContribution, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlingComponent

public ExceptionHandlingComponent()
Method Detail

registerContribution

public void registerContribution(Object contribution,
                                 String extensionPoint,
                                 ComponentInstance contributor)
                          throws Exception
Overrides:
registerContribution in class DefaultComponent
Throws:
Exception

forwardToErrorPage

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

getExceptionHandler

public NuxeoExceptionHandler getExceptionHandler()
Specified by:
getExceptionHandler in interface ExceptionHandlingService

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.