|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.struts.action.ActionMessages
org.apache.struts.action.ActionErrors
com.jcorporate.expresso.core.controller.ErrorCollection
An ErrorCollection is the Controller-specific ActionErrors collection for Expresso Creation date: (8/29/00 2:10:58 PM)
| Nested Class Summary |
| Nested classes inherited from class org.apache.struts.action.ActionMessages |
org.apache.struts.action.ActionMessages.ActionMessageItem |
| Field Summary | |
static String |
ERRORCOLLECTIONKEY
|
| Fields inherited from class org.apache.struts.action.ActionErrors |
GLOBAL_ERROR |
| Fields inherited from class org.apache.struts.action.ActionMessages |
GLOBAL_MESSAGE, iCount, messages |
| Constructor Summary | |
ErrorCollection()
ErrorCollection constructor comment. |
|
| Method Summary | |
void |
addError(ChainedException ex)
This method adds an error for each message in the ChainedException link. |
void |
addError(String errorMessage)
Adds an error to the default collection. |
void |
addError(String errorMessage,
Object errorMessageParam1)
Adds an error with one param to the default collection. |
void |
addError(String errorMessage,
Object[] args)
Adds an error with an array of arguments |
void |
addError(String errorMessage,
Object errorMessageParam1,
Object errorMessageParam2)
Adds an error with one param to the default collection. |
void |
addError(String errorMessage,
Object errorMessageParam1,
Object errorMessageParam2,
Object errorMessageParam3)
Adds an error with one param to the default collection. |
void |
addError(String propName,
String errorMessage)
Deprecated. 7/04 v5.5 since expresso uses only one property name, use addError(String errmsgkey) instead; if you want args/params for template replacement, use addError(key, (Object)replacementParam) Creation date: (8/29/00 2:43:13 PM) author Adam Rossi, PlatinumSolutions |
Object |
clone()
clone method |
int |
getErrorCount()
Creation date: (8/29/00 2:38:57 PM) author Adam Rossi, PlatinumSolutions |
Iterator |
getErrors()
Creation date: (8/29/00 2:17:36 PM) author Adam Rossi, PlatinumSolutions |
Iterator |
getErrors(String label)
|
String[] |
getErrorStrings()
Retrieve a list of error strings corresponding to the ActionError |
void |
removeError(String label)
Allows us to retract an error if at one point in the code we decide we don't actually want that error, but some previous parts were too isolated to make this decision. |
| Methods inherited from class org.apache.struts.action.ActionErrors |
add |
| Methods inherited from class org.apache.struts.action.ActionMessages |
add, add, clear, empty, get, get, isEmpty, properties, size, size |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String ERRORCOLLECTIONKEY
| Constructor Detail |
public ErrorCollection()
| Method Detail |
public void addError(String errorMessage)
errorMessage - com.jcorporate.expresso.core.controller.Output
public void addError(String errorMessage,
Object errorMessageParam1)
errorMessage - java.lang.StringerrorMessageParam1 - java.lang.String
public void addError(String errorMessage,
Object errorMessageParam1,
Object errorMessageParam2)
errorMessage - java.lang.StringerrorMessageParam1 - java.lang.StringerrorMessageParam2 - java.lang.String
public void addError(String errorMessage,
Object errorMessageParam1,
Object errorMessageParam2,
Object errorMessageParam3)
errorMessage - java.lang.StringerrorMessageParam1 - java.lang.StringerrorMessageParam2 - java.lang.StringerrorMessageParam3 - java.lang.String
public void addError(String errorMessage,
Object[] args)
errorMessage - java.lang.Stringpublic void addError(ChainedException ex)
ex - the ChainedException (DBException is an example)
public void addError(String propName,
String errorMessage)
propName - java.lang.StringerrorMessage - java.lang.Stringpublic int getErrorCount()
public Iterator getErrors()
public String[] getErrorStrings()
public Iterator getErrors(String label)
public void removeError(String label)
public Object clone()
throws CloneNotSupportedException
CloneNotSupportedException
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||