org.apache.struts.config
public class ExceptionConfig extends Object implements Serializable
A JavaBean representing the configuration information of an
<exception> element from a Struts
configuration file.
Since: Struts 1.1
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| 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 | configured
Has this component been completely configured? |
| protected String | handler
The fully qualified Java class name of the exception handler class
which should be instantiated to handle this exception. |
| 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 ActionError for this exception
handler. |
| protected String | type
The fully qualified Java class name of the exception that is to be
handled by this handler. |
| Method Summary | |
|---|---|
| void | freeze()
Freeze the configuration of this component. |
| String | getBundle() |
| String | getHandler() |
| String | getKey() |
| String | getPath() |
| String | getScope() |
| String | getType() |
| void | setBundle(String bundle) |
| void | setHandler(String handler) |
| void | setKey(String key) |
| void | setPath(String path) |
| void | setScope(String scope) |
| void | setType(String type) |
| String | toString()
Return a String representation of this object. |
Action.