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, deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
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 © 2018 Nuxeo. All rights reserved.