org.apache.struts.config
クラス ExceptionConfig

java.lang.Object
  拡張org.apache.struts.config.ExceptionConfig
すべての実装インタフェース:
java.io.Serializable

public class ExceptionConfig
extends java.lang.Object
implements java.io.Serializable

A JavaBean representing the configuration information of an <exception> element from a Struts configuration file.

導入されたバージョン:
Struts 1.1
バージョン:
$Revision: 1.1 $ $Date: 2004/10/20 03:26:41 $
関連項目:
直列化された形式

フィールドの概要
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.
 
コンストラクタの概要
ExceptionConfig()
           
 
メソッドの概要
 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.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

configured

protected boolean configured
Has this component been completely configured?


bundle

protected java.lang.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.


handler

protected java.lang.String handler
The fully qualified Java class name of the exception handler class which should be instantiated to handle this exception.


key

protected java.lang.String key
The message resources key specifying the error message associated with this exception.


path

protected java.lang.String path
The module-relative path of the resource to forward to if this exception occurs during an Action.


scope

protected java.lang.String scope
The scope in which we should expose the ActionError for this exception handler.


type

protected java.lang.String type
The fully qualified Java class name of the exception that is to be handled by this handler.

コンストラクタの詳細

ExceptionConfig

public ExceptionConfig()
メソッドの詳細

getBundle

public java.lang.String getBundle()

setBundle

public void setBundle(java.lang.String bundle)

getHandler

public java.lang.String getHandler()

setHandler

public void setHandler(java.lang.String handler)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getPath

public java.lang.String getPath()

setPath

public void setPath(java.lang.String path)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

freeze

public void freeze()
Freeze the configuration of this component.


toString

public java.lang.String toString()
Return a String representation of this object.



このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation