[omniORB] newbie: how do I send exceptions from one python program to another?

Radu-Adrian Popescu radu.popescu at aldratech.com
Mon Dec 22 12:32:01 GMT 2003


On Sat, 2003-12-20 at 08:40, Matt Ficken wrote:

> I have 2 programs that are both written in python and communicate through OmniORB.
> 
> Currently, any exception I raise in one program just shows up in the other program as a generic OMNIORB error. Is there a way that I can transport actual python exceptions(Such as IOError and a descriptive message) from one program to another?
> 
> :)


If I'm not mistaken, this is what IDL exception definition is for; you
write up an exception (hierarchy)
and then throw those from servant code.

Hope it helps,

-- 
Radu-Adrian Popescu
CSA, DBA, Developer
Aldratech Ltd.
+40213212243
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20031222/2f6f7980/attachment.htm


More information about the omniORB-list mailing list