pyjnius
pyjnius copied to clipboard
Get exception message of python in java
I have an java interface which is implemented in python, and I call the python function in a java program. I am trying to catch the exceptions that python code throw in my java program. I've tried the JavaException class, but makes no sense.
So, how can i get the python exception info in java?