On 1/8/07, Karan Malhi <[EMAIL PROTECTED]> wrote:

So here is what i have observed and would like to do whenever i find a
printStackTrace() call in the catch block
1 . Remove the printStackTrace() statement
2. Throw an OpenEJBException wrapping the original exception.
3. Add an error message in the Messages.properties file of the respective
project and use the Messages class to format the message before adding it to
the OpenEJBException

Please let me know if the above is the right approach. If not, please let me
know.

+1. Report a jira task and do it.

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to