[omniORB] propagating exceptions
    Srikanth Mandava 
    Srikanth.Mandava at cosinecom.com
       
    Tue Mar 16 10:42:38 GMT 2004
    
    
  
          Hi, 
I'm using omniORB python to generate stubs to talk to a CORBA server. When a
COMM_FAILURE or other system exceptions are thrown from the CORBA server,
these are not being propagated to the application. The client is quitting
after the stubs handle the exception instead of propagating them to the
application code. Is there a way to get the system exceptions propagated to
the application code?
In the example code below, the exception is not propagated to the
commandexecutor.py module. 
Thanks 
Srikanth 
example: 
03/12/04 22:52:39 : Traceback (most recent call last): 
  File "./commandexecutor.py", line 117, in executeShowConfigCommand 
    exec(commandString, helpers.__dict__, localStore) 
  File "<string>", line 1, in ? 
  File "/opt/ipnos/cli/generated/omniidl/systemservice_idl.py", line 1354,
in showBootConfigConfig 
    return _omnipy.invoke(self, "showBootConfigConfig",
_0_cosinecom.agent.SystemService._d_showBootConfigConfig, args) 
INV_OBJREF: Minor: 0x0, COMPLETED_NO 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040316/4b6d987f/attachment.htm
    
    
More information about the omniORB-list
mailing list