On Sep 25, 2010, at 13:54, Bill Janssen <jans...@parc.com> wrote:

I've got a subclass of PythonMultiFieldQueryParser. I'd like to be able
to throw a custom Python exception with parameters in that code, and
catch it in the Python code that's using it. To do this, the exception has to somehow travel through Java. I thought I could perhaps subclass
PythonException to do this, but it looks like that's not really an
extension class.

How to do this?

Have you tried just throwing your exception ? It should be picked up at the JVM crossing point and thrown on in some form back to Python, no ?

Andi..


Bill

Reply via email to