From: William S F. <ws...@fu...> - 2006-10-26 07:32:47
|
Mark Donszelmann wrote: > Hi > > I have a class in Java which is accessed by a director from C++. The > wrappers > and java classes are generated by SWIG 1.3.29. > > One of the methods in the Java class throws an > IllegalArgumentException (unchecked) > which needs to be re-thrown into C++ (as a different user defined > exception). > > Any idea how and if I could handle this using SWIG? > This is not currently possible, but a new feature could make this available. I think the exception handling in the Java directors needs some attention anyway, especially in handling C++ thrown exceptions. You could raise a bug report about this if you like and we'll add this in at a future date. William |