public class ExceptionHandlingComponent extends DefaultComponent implements ExceptionHandlingService
Modifier and Type | Class and Description |
---|---|
static class |
ExceptionHandlingComponent.ExtensionPoint |
Modifier and Type | Field and Description |
---|---|
protected NuxeoExceptionHandler |
exceptionHandler |
protected NuxeoExceptionHandlerParameters |
exceptionHandlerParameters |
lastModified
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() |
protected <T> T |
newInstance(Class<T> klass) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtension
protected NuxeoExceptionHandler exceptionHandler
protected final NuxeoExceptionHandlerParameters exceptionHandlerParameters
public ExceptionHandlingComponent()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
protected <T> T newInstance(Class<T> klass)
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.