public class ExceptionHandlingComponent extends DefaultComponent implements ExceptionHandlingService
Modifier and Type | Class and Description |
---|---|
static class |
ExceptionHandlingComponent.ExtensionPoint |
Constructor and Description |
---|
ExceptionHandlingComponent() |
Modifier and Type | Method and Description |
---|---|
void |
forwardToErrorPage(HttpServletRequest request,
HttpServletResponse response,
Throwable t) |
NuxeoExceptionHandler |
getExceptionHandler() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public void forwardToErrorPage(HttpServletRequest request, HttpServletResponse response, Throwable t) throws IOException, ServletException
forwardToErrorPage
in interface ExceptionHandlingService
IOException
ServletException
public NuxeoExceptionHandler getExceptionHandler()
getExceptionHandler
in interface ExceptionHandlingService
Copyright © 2013 Nuxeo SA. All Rights Reserved.