org.apache.struts.action
クラス ActionError

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

推奨されていません。 Please use ActionMessage instead, deprecated since 1.2.0.

public class ActionError
extends ActionMessage
implements java.io.Serializable

An encapsulation of an individual error message returned by the validate method of an ActionForm, consisting of a message key (to be used to look up message text in an appropriate message resources database) plus up to four placeholder objects that can be used for parametric replacement in the message text.

The placeholder objects are referenced in the message text using the same syntax used by the JDK MessageFormat class. Thus, the first placeholder is '{0}', the second is '{1}', etc.

Since Struts 1.1 ActionError extends ActionMessage.

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

フィールドの概要
 
クラス org.apache.struts.action.ActionMessage から継承したフィールド
key, values
 
コンストラクタの概要
ActionError(java.lang.String key)
          推奨されていません。 Construct an action error with no replacement values.
ActionError(java.lang.String key, java.lang.Object value0)
          推奨されていません。 Construct an action error with the specified replacement values.
ActionError(java.lang.String key, java.lang.Object[] values)
          推奨されていません。 Construct an action error with the specified replacement values.
ActionError(java.lang.String key, java.lang.Object value0, java.lang.Object value1)
          推奨されていません。 Construct an action error with the specified replacement values.
ActionError(java.lang.String key, java.lang.Object value0, java.lang.Object value1, java.lang.Object value2)
          推奨されていません。 Construct an action error with the specified replacement values.
ActionError(java.lang.String key, java.lang.Object value0, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3)
          推奨されていません。 Construct an action error with the specified replacement values.
 
クラス org.apache.struts.action.ActionMessage から継承したメソッド
getKey, getValues, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ActionError

public ActionError(java.lang.String key)
推奨されていません。 

Construct an action error with no replacement values.

パラメータ:
key - Message key for this error message

ActionError

public ActionError(java.lang.String key,
                   java.lang.Object value0)
推奨されていません。 

Construct an action error with the specified replacement values.

パラメータ:
key - Message key for this error message
value0 - First replacement value

ActionError

public ActionError(java.lang.String key,
                   java.lang.Object value0,
                   java.lang.Object value1)
推奨されていません。 

Construct an action error with the specified replacement values.

パラメータ:
key - Message key for this error message
value0 - First replacement value
value1 - Second replacement value

ActionError

public ActionError(java.lang.String key,
                   java.lang.Object value0,
                   java.lang.Object value1,
                   java.lang.Object value2)
推奨されていません。 

Construct an action error with the specified replacement values.

パラメータ:
key - Message key for this error message
value0 - First replacement value
value1 - Second replacement value
value2 - Third replacement value

ActionError

public ActionError(java.lang.String key,
                   java.lang.Object value0,
                   java.lang.Object value1,
                   java.lang.Object value2,
                   java.lang.Object value3)
推奨されていません。 

Construct an action error with the specified replacement values.

パラメータ:
key - Message key for this error message
value0 - First replacement value
value1 - Second replacement value
value2 - Third replacement value
value3 - Fourth replacement value

ActionError

public ActionError(java.lang.String key,
                   java.lang.Object[] values)
推奨されていません。 

Construct an action error with the specified replacement values.

パラメータ:
key - Message key for this message
values - Array of replacement values


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