Hi

I have modified Validator.java and ValidationException.java to handle

1.  Calling Validator.validate(Object) will validate all the fields and then,
return instead of returning if exception of one field is intercepted!

2.  Return the field names and the message returned by field validator as a ;
separated string.

3.  ValidationException.toString() returns the string containing field names
and corresponding messages in ; separated format (We can use StringTokenizer to
get the field names separately).

Please check its validity and give me your feedbacks.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Attachment: Validator.java
Description: Validator.java

Attachment: ValidationException.java
Description: ValidationException.java

Reply via email to