From: <no...@so...> - 2001-11-10 17:20:04
|
Bugs item #480390, was opened at 2001-11-10 09:20 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=480390&group_id=12867 Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Finn Bock (bckfnn) Assigned to: Nobody/Anonymous (nobody) Summary: main() does not throw exceptions Initial Comment: The main() method in jythonc compiled program does not re-throw exception thrown by the compiled script. Py.runMain() have a try-catch and it doesn't re-throw the exception but does a System.exit(-1) instead. That makes it impossible to call the main() method from some other java class and catch the exception that was raised by the script. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=480390&group_id=12867 |