[omniORB] TRANSIENT or COMM_FAILURE

Duncan Grisby duncan at grisby.org
Tue Nov 11 10:18:30 GMT 2003


On Tuesday 11 November, Serguei Kolos wrote:

> I have noticed recently that under different conditions omniORB4
> throws different exceptions in case when remote server is not
> running.

[...]
> I have raised the issue about these exceptions in the comp.object.corba 
> newsgroup.
> Here are my questions the answers of Michi Henning. Do you agree with 
> his opinion?

See Jon Biggar's response to Michi in comp.object.corba.

COMM_FAILURE means the communication failed between sending a request
and getting a response. When using an existing connection, it is not
until the ORB tries to receive the response that it is able to see
that the connection has gone. COMM_FAILURE is therefore the correct
exception to throw.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list