public interface ExceptionHandlerAssistant
RequestExceptionHandler
service, this is mapped to an exception class,
allowing class specific (based on an inheritance search) handling of an exception.ContextAwareException
Modifier and Type | Method and Description |
---|---|
Object |
handleRequestException(Throwable exception,
List<Object> exceptionContext)
Handles the exception, returning a page class or link to redirect to.
|
Object handleRequestException(Throwable exception, List<Object> exceptionContext) throws IOException
exception
- the exception as thrownexceptionContext
- a page activation context that is derived from the root-most exceptionLink
; a page will be redirected to, with the exception context
as the page activation contextIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.