getting java stacktrace info in jython
Roy Mathew
roymath at yahoo.com
Thu May 2 14:18:52 EDT 2002
Folks,
I am trying to get a detailed java stacktrace (specifically all the
information I can
on an UnsatisfiedLinkError) from jython. However, jython seems to
swallow
all the java detail. How do I get around this?
For example
try:
... do something with java
except:
for val in sys.exc_info():
print val
produces:
java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError: NCreateSession
<traceback object at 1545641000>
but the traceback only has the jython (ie: python code) information.
Thanks,
Roy Mathew
(roymath at yahoo.com)
More information about the Python-list
mailing list