| |
|
| java.lang.Object org.apache.struts.config.BaseConfig org.apache.struts.config.ExceptionConfig
ExceptionConfig | public class ExceptionConfig extends BaseConfig (Code) | | A JavaBean representing the configuration information of an
<exception> element from a Struts configuration
file.
version: $Rev: 471754 $ $Date: 2005-08-06 18:03:30 -0400 (Sat, 06 Aug 2005) version: $ since: Struts 1.1 |
Field Summary | |
protected String | bundle The servlet context attribute under which the message resources bundle
to be used for this exception is located. | protected boolean | extensionProcessed | protected String | handler The fully qualified Java class name of the exception handler class
which should be instantiated to handle this exception. | protected String | inherit The type of the ExceptionConfig that this object should inherit
properties from. | protected String | key The message resources key specifying the error message associated with
this exception. | protected String | path The module-relative path of the resource to forward to if this
exception occurs during an Action . | protected String | scope The scope in which we should expose the ActionMessage for this
exception handler. | protected String | type The fully qualified Java class name of the exception that is to be
handled by this handler. |
bundle | protected String bundle(Code) | | The servlet context attribute under which the message resources bundle
to be used for this exception is located. If not set, the default
message resources for the current module is assumed.
|
extensionProcessed | protected boolean extensionProcessed(Code) | | Have the inheritance values for this class been applied?
|
handler | protected String handler(Code) | | The fully qualified Java class name of the exception handler class
which should be instantiated to handle this exception.
|
inherit | protected String inherit(Code) | | The type of the ExceptionConfig that this object should inherit
properties from.
|
key | protected String key(Code) | | The message resources key specifying the error message associated with
this exception.
|
path | protected String path(Code) | | The module-relative path of the resource to forward to if this
exception occurs during an Action .
|
scope | protected String scope(Code) | | The scope in which we should expose the ActionMessage for this
exception handler.
|
type | protected String type(Code) | | The fully qualified Java class name of the exception that is to be
handled by this handler.
|
checkCircularInheritance | protected boolean checkCircularInheritance(ModuleConfig moduleConfig, ActionConfig actionConfig)(Code) | | Traces the hierarchy of this object to check if any of the ancestors
are extending this instance.
Parameters: moduleConfig - The ModuleConfig that this config is from. Parameters: actionConfig - The ActionConfig that this config is from,if applicable. This parameter must be null if thisis a global handler. true if circular inheritance was detected. |
isExtensionProcessed | public boolean isExtensionProcessed()(Code) | | |
toString | public String toString()(Code) | | Return a String representation of this object.
|
Fields inherited from org.apache.struts.config.BaseConfig | protected boolean configured(Code)(Java Doc)
|
|
|
|