[omniORB] propagating exceptions

W. Borgert debacle at debian.org
Tue Mar 16 21:20:04 GMT 2004


Quoting Srikanth Mandava <Srikanth.Mandava at cosinecom.com>:
> The application code is in commandexecutor.py which has the following
> function. The exec is doing the CORBA execution. But the exception never

You may catch the exception explicitly:

    except CORBA.OBJECT_NOT_EXIST:
        ...

    except CORBA.CORBA.INV_OBJREF:
        ....

If nothing helps, do a "catch all" at the end of your block:

    except:
        ...

Cheers,
-- 
W. Borgert - http://people.debian.org/~debacle/



More information about the omniORB-list mailing list