org.apache.struts.config
Class ExceptionConfig
java.lang.Object
org.apache.struts.config.ExceptionConfig
- Serializable
public class ExceptionConfig
extends java.lang.Object
implements Serializable
A JavaBean representing the configuration information of an
<exception>
element from a Struts
configuration file.
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $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.
|
bundle
protected String bundle
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.
configured
protected boolean configured
Has this component been completely configured?
handler
protected String handler
The fully qualified Java class name of the exception handler class
which should be instantiated to handle this exception.
key
protected String key
The message resources key specifying the error message
associated with this exception.
path
protected String path
The module-relative path of the resource to forward to if this
exception occurs during an Action
.
scope
protected String scope
The scope in which we should expose the ActionError for this exception
handler.
type
protected String type
The fully qualified Java class name of the exception that is to be
handled by this handler.
freeze
public void freeze()
Freeze the configuration of this component.
getBundle
public String getBundle()
getHandler
public String getHandler()
getKey
public String getKey()
getPath
public String getPath()
getScope
public String getScope()
getType
public String getType()
setBundle
public void setBundle(String bundle)
setHandler
public void setHandler(String handler)
setKey
public void setKey(String key)
setPath
public void setPath(String path)
setScope
public void setScope(String scope)
setType
public void setType(String type)
toString
public String toString()
Return a String representation of this object.
Copyright B) 2000-2007 - The Apache Software Foundation