public class ExceptionHandler extends AbstractExceptionHandler
Handle the specified exception.
Constructor and Description |
---|
ExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
protected ForwardConfig |
handle(ActionContext context,
Exception exception,
ExceptionConfig exceptionConfig,
ActionConfig actionConfig,
ModuleConfig moduleConfig)
Perform the required handling of the specified exception.
|
execute
execute
protected ForwardConfig handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) throws Exception
AbstractExceptionHandler
Perform the required handling of the specified exception.
handle
in class AbstractExceptionHandler
context
- The Context
for this requestexception
- The exception being handledexceptionConfig
- The corresponding ExceptionConfig
actionConfig
- The ActionConfig
for this requestmoduleConfig
- The ModuleConfig
for this requestForwardConfig
to be processed next (if any),
or null
if processing has been completedException
- if there are any problems handling the exceptionCopyright © 2000–2017 Apache Software Foundation. All rights reserved.