Class ExceptionHandler
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractExceptionHandler
org.apache.struts.chain.commands.servlet.ExceptionHandler
- All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>
,ActionCommand
Handle the specified exception.
- Version:
- $Rev$ $Date: 2005-05-07 12:11:38 -0400 (Sat, 07 May 2005) $
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ForwardConfig
handle
(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) Perform the required handling of the specified exception.Methods inherited from class org.apache.struts.chain.commands.AbstractExceptionHandler
execute_
Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
ExceptionHandler
public ExceptionHandler()
-
-
Method Details
-
handle
protected ForwardConfig handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) throws Exception Description copied from class:AbstractExceptionHandler
Perform the required handling of the specified exception.
- Specified by:
handle
in classAbstractExceptionHandler
- Parameters:
context
- TheContext
for this requestexception
- The exception being handledexceptionConfig
- The correspondingExceptionConfig
actionConfig
- TheActionConfig
for this requestmoduleConfig
- TheModuleConfig
for this request- Returns:
- the
ForwardConfig
to be processed next (if any), ornull
if processing has been completed - Throws:
Exception
- if there are any problems handling the exception
-