[webbeans-dev] SimpleBean.create

Peter Royle howardmoon at screamingcoder.com
Tue Mar 24 17:55:14 EDT 2009


Hi,

I've noticed that if I do something stupid in one of my bean's
constructors (a NPE for example ;) the exception is being buried by
SimpleBean.create which has 'trys' and 'finallys' but no catch. I assume
there's a good reason for not rethrowing the exception here (what is it
by the way?), but could we maybe log it?

Cheers,

Pete.





More information about the weld-dev mailing list