Hello Keith et al.,

For those of you who have't been following my trials
and tribulations with ValidationException, please take
a look at my original Jan. 3 e-mail in which I first
proposed my changes to ValidationException...

I have attached 2 diff files:
1.  One is done with pretty default diff settings in
WinCVS1.2 which is equivalent to "cvs-z9 diff -w" on
command line
2.  The other one was "cvs diff -u"

You can tell which is which by the last part of the
name of the files.

I've basically added 4 instance variables (field name,
field value, error type and value restriction) to
ValidationException and populated them in the
constructors upon every instantiation of
ValidationException due to bad user input rather than
anything else such as bad schema definition.

These changes were intended to do the following:
.    consistently return the field name in the
exception;
.    create a mechanism to allow multilingual support
for error messages;
.    allow the Business to easily use their own
wording
of error messages on a per field basis instead of the
default English messages

Keith, please take a look at the diff files and let me
know if at least one of them is what you're looking
for.  Also, please don't hesitate to let me know what
else I can do to expedite getting these changes
committed.

Thanks very much,
Joyce  : )

______________________________________________________________________ 
Web-hosting solutions for home and business! http://website.yahoo.ca

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to