<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>propagating exceptions</TITLE>
<META content="MSHTML 5.50.4207.2601" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT size=2><SPAN class=037494318-16032004><FONT
color=#0000ff>
</FONT></SPAN>Hi,</FONT></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P><FONT face=Arial size=2>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?</FONT></P>
<P><FONT face=Arial size=2>In the example code below, the exception is not
propagated to the commandexecutor.py module.</FONT> </P>
<P><FONT face=Arial size=2>Thanks</FONT> <BR><FONT face=Arial
size=2>Srikanth</FONT> </P>
<P><FONT face=Arial size=2>example:</FONT> </P><BR>
<P><FONT face=Arial color=#0000ff size=2>03/12/04 22:52:39 : Traceback (most
recent call last):</FONT> <BR><FONT face=Arial color=#0000ff size=2>
File "./commandexecutor.py", line 117, in executeShowConfigCommand</FONT>
<BR><FONT face=Arial color=#0000ff size=2>
exec(commandString, helpers.__dict__, localStore)</FONT> <BR><FONT face=Arial
color=#0000ff size=2> File "<string>", line 1, in ?</FONT>
<BR><FONT face=Arial color=#0000ff size=2> File
"/opt/ipnos/cli/generated/omniidl/systemservice_idl.py", line 1354, in
showBootConfigConfig</FONT> <BR><FONT face=Arial color=#0000ff
size=2> return _omnipy.invoke(self, "showBootConfigConfig",
_0_cosinecom.agent.SystemService._d_showBootConfigConfig, args)</FONT>
<BR><FONT face=Arial color=#0000ff size=2>INV_OBJREF: Minor: 0x0,
COMPLETED_NO</FONT> </P></BLOCKQUOTE></BODY></HTML>