Uses of Class
org.apache.struts.config.ExceptionConfig
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
Configurable commands that may be placed within the
request processor.
Commands which are particular to servlet processing.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file.Provides default implementation classes for the
configuration objects.
-
Uses of ExceptionConfig in org.apache.struts.action
Modifier and TypeMethodDescriptionprotected ExceptionConfig
ActionServlet.processExceptionConfigClass
(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Checks if the current exceptionConfig is using the correct class based on the class of its configuration ancestor.Modifier and TypeMethodDescriptionprotected String
ExceptionHandler.determineIncludePath
(ExceptionConfig config, ActionForward actionForward) Return a path to which an include should be attempted in the case when the response was committed before theExceptionHandler
was invoked.ExceptionHandler.execute
(Exception ex, ExceptionConfig ae, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response) Handle the Exception.protected void
ExceptionHandler.handleCommittedResponse
(Exception ex, ExceptionConfig config, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response, ActionForward actionForward) Attempt to give good information when the response has already been committed when the exception was thrown.protected ExceptionConfig
ActionServlet.processExceptionConfigClass
(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Checks if the current exceptionConfig is using the correct class based on the class of its configuration ancestor.protected void
ActionServlet.processExceptionExtension
(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Extend the exception's configuration as necessary. -
Uses of ExceptionConfig in org.apache.struts.chain.commands
Modifier and TypeMethodDescriptionprotected abstract ForwardConfig
AbstractExceptionHandler.handle
(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) Perform the required handling of the specified exception. -
Uses of ExceptionConfig in org.apache.struts.chain.commands.servlet
Modifier and TypeMethodDescriptionprotected ForwardConfig
ExceptionHandler.handle
(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) -
Uses of ExceptionConfig in org.apache.struts.config
Modifier and TypeFieldDescriptionprotected HashMap
<String, ExceptionConfig> ActionConfig.exceptions
The set of exception handling configurations for this action, if any, keyed by thetype
property.Modifier and TypeMethodDescriptionActionConfig.findException
(Class<?> type) Find and return theExceptionConfig
instance defining howExceptions
of the specified type should be handled.ModuleConfig.findException
(Class<?> type) Perform a recursive search for an ExceptionConfig registered for this class, or for any superclass.ActionConfig.findExceptionConfig
(String type) Return the exception configuration for the specified type, if any; otherwise returnnull
.ModuleConfig.findExceptionConfig
(String type) Return the exception configuration for the specified type, if any; otherwise returnnull
.ActionConfig.findExceptionConfigs()
Return the exception configurations for this action.ModuleConfig.findExceptionConfigs()
Return the exception configurations for this module.Modifier and TypeMethodDescriptionvoid
ActionConfig.addExceptionConfig
(ExceptionConfig config) Add a newExceptionConfig
instance to the set associated with this action.void
ModuleConfig.addExceptionConfig
(ExceptionConfig config) Add a newExceptionConfig
instance to the set associated with this module.void
ExceptionConfig.inheritFrom
(ExceptionConfig config) Inherit values that have not been overridden from the provided config object.void
ActionConfig.removeExceptionConfig
(ExceptionConfig config) Remove the specified exception configuration instance.void
ModuleConfig.removeExceptionConfig
(ExceptionConfig config) Remove the specified exception configuration instance. -
Uses of ExceptionConfig in org.apache.struts.config.impl
Modifier and TypeFieldDescriptionprotected HashMap
<String, ExceptionConfig> ModuleConfigImpl.exceptions
The set of exception handling configurations for this module, if any, keyed by thetype
property.Modifier and TypeMethodDescriptionModuleConfigImpl.findException
(Class<?> type) Find and return theExceptionConfig
instance defining howExceptions
of the specified type should be handled.ModuleConfigImpl.findExceptionConfig
(String type) Return the exception configuration for the specified type, if any; otherwise returnnull
.ModuleConfigImpl.findExceptionConfigs()
Return the exception configurations for this module.Modifier and TypeMethodDescriptionvoid
ModuleConfigImpl.addExceptionConfig
(ExceptionConfig config) Add a newExceptionConfig
instance to the set associated with this module.void
ModuleConfigImpl.removeExceptionConfig
(ExceptionConfig config) Remove the specified exception configuration instance.