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:
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ForwardConfighandle(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:AbstractExceptionHandlerPerform the required handling of the specified exception.
- Specified by:
handlein classAbstractExceptionHandler- Parameters:
context- TheContextfor this requestexception- The exception being handledexceptionConfig- The correspondingExceptionConfigactionConfig- TheActionConfigfor this requestmoduleConfig- TheModuleConfigfor this request- Returns:
- the
ForwardConfigto be processed next (if any), ornullif processing has been completed - Throws:
Exception- if there are any problems handling the exception
-