lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Janssen <>
Subject throwing an exception *through* Java?
Date Sat, 25 Sep 2010 13:54:39 GMT
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?


View raw message