|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.action.ActionMessage
org.apache.struts.action.ActionError
ActionMessage instead, deprecated since 1.2.0.
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.
| フィールドの概要 |
| クラス 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 |
| コンストラクタの詳細 |
public ActionError(java.lang.String key)
Construct an action error with no replacement values.
key - Message key for this error message
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 messagevalue0 - First replacement value
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 messagevalue0 - First replacement valuevalue1 - Second replacement value
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 messagevalue0 - First replacement valuevalue1 - Second replacement valuevalue2 - Third replacement value
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 messagevalue0 - First replacement valuevalue1 - Second replacement valuevalue2 - Third replacement valuevalue3 - Fourth replacement value
public ActionError(java.lang.String key,
java.lang.Object[] values)
Construct an action error with the specified replacement values.
key - Message key for this messagevalues - Array of replacement values
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||