Jim,
I just added missing getThrowableInformation method in LoggingEvent. That should solve
the problem. Cheers, Ceki
ps: What you want is probably event.getThrowableInformation().getThrowable().
At 16:23 11.04.2001 -0400, you wrote:
>In the version of log4j that's in CVS right now I can't find any way to get
>the Throwable that was given to the LoggingEvent. There's a ThrowableInfo
>that's stored in the LoggingEvent, which has a public getThrowable() method,
>but there's no way to get the ThrowableInfo. There's a getThrowableStrRep()
>method, but you can't do an instanceof SQLException on that or query that
>for the object's members.
>
>Is there some way to get the Throwable from LoggingEvent that I'm missing?
>
>-Jim Moore
--
Ceki Gülcü Web: http://qos.ch
email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]