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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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)
registerContribution
in class DefaultComponent
public void forwardToErrorPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable t) throws IOException, javax.servlet.ServletException
forwardToErrorPage
in interface ExceptionHandlingService
IOException
javax.servlet.ServletException
public NuxeoExceptionHandler getExceptionHandler()
getExceptionHandler
in interface ExceptionHandlingService
Copyright © 2015 Nuxeo SA. All rights reserved.