Hi,
Iam trying to use try, except and finally block in my jython program and it
givs a syntax error for my finally line:

class test1(test):
        def __init__(self)
                test.__init__(self)

        def setInt(self, num)
                try:
                        test.setInt(num)
                except Exception, e:
                        print e.toString()
                finally:
                        print 'program ends here ..'

When I compile this program, I always get syntax error for finally.
Can u help me on this.

thanks,
saravanan