From: Michal T. <Mic...@co...> - 2002-08-29 09:31:29
|
Hi, I tried jython a minute ago and its fantastic! Writting in java was never such easy :) But I found a problem: try..except statement doesn't catch subclass exceptions e.g. when I have an object of class javax.naming.NamingException which is a subclass of java.lang.Exception than statement: try: ... except Exception: ... doesn't catch that object and statement try: ... except NamingException: .. does. Is this a bug, or just a jython feature? best regards, Michal |