au.com.whitesquare.waf.command
Class ParameterErrors
java.lang.Object
au.com.whitesquare.waf.command.ParameterErrors
- public class ParameterErrors
- extends Object
Last Modified $Date: 2005/01/03 11:13:43 $
- Version:
- $Revision: 1.9 $
- Author:
- Steve Mactaggart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterErrors
public ParameterErrors()
size
public int size()
- Returns:
- the number of error elements contained in this object.
getError
public FieldValidationException getError(int i)
getError
public FieldValidationException getError(String code)
getCombinedMessage
public String getCombinedMessage()
- Returns:
- a message containing all of the messages for each
error concatenated together.
addError
public void addError(FieldValidationException ex)
- Parameters:
ex -
addError
public void addError(String field,
String message)
addAll
public void addAll(ParameterErrors errors2)
- Parameters:
errors2 -
Copyright © 2004 Whitesquare Software. All Rights Reserved.