Python's Exception class is not the same thing as java.lang.Exception. You'll need a separate except clause for it. Something like this:
Python's Exception class is not the same thing as java.lang.Exception. You'll need a separate except clause for it. Something like this: