| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.struts.config.ExceptionConfig
A JavaBean representing the configuration information of an
 <exception> element from a Struts
 configuration file.
| Field Summary | |
protected  java.lang.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  java.lang.String | 
handler
The fully qualified Java class name of the exception handler class which should be instantiated to handle this exception.  | 
protected  java.lang.String | 
key
The message resources key specifying the error message associated with this exception.  | 
protected  java.lang.String | 
path
The module-relative path of the resource to forward to if this exception occurs during an Action. | 
protected  java.lang.String | 
scope
The scope in which we should expose the ActionError for this exception handler.  | 
protected  java.lang.String | 
type
The fully qualified Java class name of the exception that is to be handled by this handler.  | 
| Constructor Summary | |
ExceptionConfig()
 | 
|
| Method Summary | |
 void | 
freeze()
Freeze the configuration of this component.  | 
 java.lang.String | 
getBundle()
 | 
 java.lang.String | 
getHandler()
 | 
 java.lang.String | 
getKey()
 | 
 java.lang.String | 
getPath()
 | 
 java.lang.String | 
getScope()
 | 
 java.lang.String | 
getType()
 | 
 void | 
setBundle(java.lang.String bundle)
 | 
 void | 
setHandler(java.lang.String handler)
 | 
 void | 
setKey(java.lang.String key)
 | 
 void | 
setPath(java.lang.String path)
 | 
 void | 
setScope(java.lang.String scope)
 | 
 void | 
setType(java.lang.String type)
 | 
 java.lang.String | 
toString()
Return a String representation of this object.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected boolean configured
protected java.lang.String bundle
protected java.lang.String handler
protected java.lang.String key
protected java.lang.String path
Action.
protected java.lang.String scope
protected java.lang.String type
| Constructor Detail | 
public ExceptionConfig()
| Method Detail | 
public java.lang.String getBundle()
public void setBundle(java.lang.String bundle)
public java.lang.String getHandler()
public void setHandler(java.lang.String handler)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getScope()
public void setScope(java.lang.String scope)
public java.lang.String getType()
public void setType(java.lang.String type)
public void freeze()
public java.lang.String toString()
toString in class java.lang.Object
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||