|
|||||||||
Home >> All >> org >> apache >> struts >> [ action overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.apache.struts.action
Class ActionError

java.lang.Objectorg.apache.struts.action.ActionMessage
org.apache.struts.action.ActionError
- All Implemented Interfaces:
- java.io.Serializable
Deprecated. Please use
ActionMessage
instead, deprecated since 1.2.0.
- public class ActionError
- extends ActionMessage
- implements java.io.Serializable
- extends ActionMessage
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
.
- Version:
- $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary |
Fields inherited from class org.apache.struts.action.ActionMessage |
key, resource, values |
Constructor Summary | |
ActionError(java.lang.String key)
Deprecated. Construct an action error with no replacement values. |
|
ActionError(java.lang.String key,
java.lang.Object value0)
Deprecated. Construct an action error with the specified replacement values. |
|
ActionError(java.lang.String key,
java.lang.Object[] values)
Deprecated. Construct an action error with the specified replacement values. |
|
ActionError(java.lang.String key,
java.lang.Object value0,
java.lang.Object value1)
Deprecated. 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)
Deprecated. 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)
Deprecated. Construct an action error with the specified replacement values. |
Methods inherited from class org.apache.struts.action.ActionMessage |
getKey, getValues, isResource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
ActionError
public ActionError(java.lang.String key)
- Deprecated.
Construct an action error with no replacement values.
ActionError
public ActionError(java.lang.String key, java.lang.Object value0)
- Deprecated.
Construct an action error with the specified replacement values.
ActionError
public ActionError(java.lang.String key, java.lang.Object value0, java.lang.Object value1)
- Deprecated.
Construct an action error with the specified replacement values.
ActionError
public ActionError(java.lang.String key, java.lang.Object value0, java.lang.Object value1, java.lang.Object value2)
- Deprecated.
Construct an action error with the specified replacement values.
ActionError
public ActionError(java.lang.String key, java.lang.Object value0, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3)
- Deprecated.
Construct an action error with the specified replacement values.
ActionError
public ActionError(java.lang.String key, java.lang.Object[] values)
- Deprecated.
Construct an action error with the specified replacement values.
|
|||||||||
Home >> All >> org >> apache >> struts >> [ action overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |