On Tue, Apr 22, 2008 at 1:32 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote:

> On Tuesday 22 April 2008, Jeremy Norris wrote:
> > I think not logging the stack traces by default is a good idea.
> > However, In my opinion, the Exception class name should be logged by
> > default. Currently, only Exception.getMessage() is logged, which makes
> > it difficult to see what kinds of exceptions are being thrown when no
> > exception message is set (ie: NullPointerException, or any exception
> > for which the semantics of the exception are not included in
> > "message").
>
> Hmm...  good point.   I'll change this to:
>
>    "Application has thrown exception, unwinding now: "
>     + ex.getClass().getName() + ": "
>    + ex.getMessage());
>
> That should help.
>
> Thanks!


Great!  Thank you!

>
>
> --
> J. Daniel Kulp
> Principal Engineer, IONA
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
>

Reply via email to