au.com.whitesquare.waf.command
Class ParameterErrors

java.lang.Object
  extended byau.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

Constructor Summary
ParameterErrors()
           
 
Method Summary
 void addAll(ParameterErrors errors2)
           
 void addError(FieldValidationException ex)
           
 void addError(String field, String message)
           
 String getCombinedMessage()
           
 FieldValidationException getError(int i)
           
 FieldValidationException getError(String code)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterErrors

public ParameterErrors()
Method Detail

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.