|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractExceptionHandler
org.apache.struts.chain.servlet.ExceptionHandler
Handle the specified exception.
Field Summary | |
private java.lang.String |
actionFormKey
|
private static org.apache.commons.logging.Log |
log
|
Fields inherited from class org.apache.struts.chain.AbstractExceptionHandler |
|
Constructor Summary | |
ExceptionHandler()
|
Method Summary | |
java.lang.String |
getActionFormKey()
Return the context attribute key under which the ActionForm for the currently selected application
action is stored. |
protected org.apache.struts.config.ForwardConfig |
handle(org.apache.commons.chain.Context context,
java.lang.Exception exception,
org.apache.struts.config.ExceptionConfig exceptionConfig,
org.apache.struts.config.ActionConfig actionConfig,
org.apache.struts.config.ModuleConfig moduleConfig)
Perform the required handling of the specified exception. |
void |
setActionFormKey(java.lang.String actionFormKey)
Set the context attribute key under which the ActionForm for the currently selected application
action is stored. |
Methods inherited from class org.apache.struts.chain.AbstractExceptionHandler |
execute, getActionConfigKey, getExceptionKey, getForwardConfigKey, getModuleConfigKey, setActionConfigKey, setExceptionKey, setForwardConfigKey, setModuleConfigKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String actionFormKey
private static final org.apache.commons.logging.Log log
Constructor Detail |
public ExceptionHandler()
Method Detail |
public java.lang.String getActionFormKey()
Return the context attribute key under which the
ActionForm
for the currently selected application
action is stored.
public void setActionFormKey(java.lang.String actionFormKey)
Set the context attribute key under which the
ActionForm
for the currently selected application
action is stored.
actionFormKey
- The new context attribute keyprotected org.apache.struts.config.ForwardConfig handle(org.apache.commons.chain.Context context, java.lang.Exception exception, org.apache.struts.config.ExceptionConfig exceptionConfig, org.apache.struts.config.ActionConfig actionConfig, org.apache.struts.config.ModuleConfig moduleConfig) throws java.lang.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 request
ForwardConfig
to be processed next (if any),
or null
if processing has been completed
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |