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, name| 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, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderprotected NuxeoExceptionHandler exceptionHandler
protected final NuxeoExceptionHandlerParameters exceptionHandlerParameters
public ExceptionHandlingComponent()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentprotected <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 ExceptionHandlingServiceIOExceptionjavax.servlet.ServletExceptionpublic NuxeoExceptionHandler getExceptionHandler()
getExceptionHandler in interface ExceptionHandlingServiceCopyright © 2019 Nuxeo. All rights reserved.