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
ExceptionHandlingComponent
public ExceptionHandlingComponent()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.