That explains. Unfortunately, it requires that "except
java.lang.Throwable" clause is required in addition to generic "except"
clause even when I have same code in case of all exceptions (python and
ps. I just noticed that Helio R. Zwi didn't reply to the group.
On 9/8/05, Helio R. Zwi <firstname.lastname@example.org> wrote:
Raghuram Devarakonda wrote:
> Yes, it does work. Thanks a lot for the quick response. Is there any
> reason that traceback.print_exc() doesn't print complete stack trace?
> On 9/8/05, *Helio R. Zwi* <email@example.com <mailto:firstname.lastname@example.org>
> > wrote:
> The following should do the job:
> from java.lang import Throwable
> import traceback
> import testje
> t = testje()
> except Throwable, e:
>> print_exc (and other methods in traceback) work with the /python/ stack
>> trace. The /Java/ stack trace is a property (actually, a private
>> member) of the