On Jan 4, 2007, at 10:57 PM, Manu George wrote:
On 1/4/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
We should add this check to the verifier. Also it would be helpful
to explicitly say in the exception message that only NotSupported and
Required are allowed.
Ok but I am a bit hazy about how validation takes place. A pointer on
where to look or how validation is done will be nice :). Also it would
be nice if we have a framework for exception handling where we can
give error codes in the exceptions and the messages will be picked up
from a property file or something like that. That way error message
changes won't need code changes
This touches on some questions that I have been meaning to ask.
How and where do we want to support i18n?
We throw a number of vanilla RuntimeExceptions. Should we not build
a few OpenEJB exceptions on top of these?
Regards,
Alan