org.nuxeo.ecm.platform.web.common.exceptionhandling.service
Class ExceptionHandlingComponent
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHandlingComponent
public ExceptionHandlingComponent()
registerContribution
public void registerContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
throws java.lang.Exception
- Overrides:
registerContribution
in class DefaultComponent
- Throws:
java.lang.Exception
forwardToErrorPage
public void forwardToErrorPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Throwable t)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
forwardToErrorPage
in interface ExceptionHandlingService
- Throws:
java.io.IOException
javax.servlet.ServletException
getExceptionHandler
public NuxeoExceptionHandler getExceptionHandler()
- Specified by:
getExceptionHandler
in interface ExceptionHandlingService
Copyright © 2010 Nuxeo SAS. All Rights Reserved.