Uses of Class
org.apache.struts.config.ExceptionConfig
Packages that use 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
Methods in org.apache.struts.action that return ExceptionConfigModifier and TypeMethodDescriptionprotected ExceptionConfigActionServlet.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.Methods in org.apache.struts.action with parameters of type ExceptionConfigModifier and TypeMethodDescriptionprotected StringExceptionHandler.determineIncludePath(ExceptionConfig config, ActionForward actionForward) Return a path to which an include should be attempted in the case when the response was committed before theExceptionHandlerwas invoked.ExceptionHandler.execute(Exception ex, ExceptionConfig ae, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response) Handle the Exception.protected voidExceptionHandler.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 ExceptionConfigActionServlet.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 voidActionServlet.processExceptionExtension(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Extend the exception's configuration as necessary. -
Uses of ExceptionConfig in org.apache.struts.chain.commands
Methods in org.apache.struts.chain.commands with parameters of type ExceptionConfigModifier and TypeMethodDescriptionprotected abstract ForwardConfigAbstractExceptionHandler.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
Methods in org.apache.struts.chain.commands.servlet with parameters of type ExceptionConfigModifier and TypeMethodDescriptionprotected ForwardConfigExceptionHandler.handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) -
Uses of ExceptionConfig in org.apache.struts.config
Fields in org.apache.struts.config with type parameters of type ExceptionConfigModifier and TypeFieldDescriptionprotected HashMap<String, ExceptionConfig> ActionConfig.exceptionsThe set of exception handling configurations for this action, if any, keyed by thetypeproperty.Methods in org.apache.struts.config that return ExceptionConfigModifier and TypeMethodDescriptionActionConfig.findException(Class<?> type) Find and return theExceptionConfiginstance defining howExceptionsof 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.Methods in org.apache.struts.config with parameters of type ExceptionConfigModifier and TypeMethodDescriptionvoidActionConfig.addExceptionConfig(ExceptionConfig config) Add a newExceptionConfiginstance to the set associated with this action.voidModuleConfig.addExceptionConfig(ExceptionConfig config) Add a newExceptionConfiginstance to the set associated with this module.voidExceptionConfig.inheritFrom(ExceptionConfig config) Inherit values that have not been overridden from the provided config object.voidActionConfig.removeExceptionConfig(ExceptionConfig config) Remove the specified exception configuration instance.voidModuleConfig.removeExceptionConfig(ExceptionConfig config) Remove the specified exception configuration instance. -
Uses of ExceptionConfig in org.apache.struts.config.impl
Fields in org.apache.struts.config.impl with type parameters of type ExceptionConfigModifier and TypeFieldDescriptionprotected HashMap<String, ExceptionConfig> ModuleConfigImpl.exceptionsThe set of exception handling configurations for this module, if any, keyed by thetypeproperty.Methods in org.apache.struts.config.impl that return ExceptionConfigModifier and TypeMethodDescriptionModuleConfigImpl.findException(Class<?> type) Find and return theExceptionConfiginstance defining howExceptionsof 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.Methods in org.apache.struts.config.impl with parameters of type ExceptionConfigModifier and TypeMethodDescriptionvoidModuleConfigImpl.addExceptionConfig(ExceptionConfig config) Add a newExceptionConfiginstance to the set associated with this module.voidModuleConfigImpl.removeExceptionConfig(ExceptionConfig config) Remove the specified exception configuration instance.