[omniORB] how to catch COMM_FAILURE exception
Duncan Grisby
duncan at grisby.org
Tue Feb 27 11:20:52 GMT 2007
On Wednesday 7 February, "=?ISO-8859-1?Q?Aida_F=E1tima_Cano?=" wrote:
> I have put a breakpoint in the line inside each catch statment and in the
> return statement of the method but the ejecution never reachs them.
>
> I'm working under windows, using Microsoft Visual C++ compiler (version 6.0
> ).
>
> I've prove if the code catchs any exception if I stop the server, and it
> does.
>
> The only error I can't catch is the COMM_FAILURE. I can't follow the thread
> since th net falls down, so I don't know if these threads are still alive or
> not.
There's nothing different about COMM_FAILURE compared to any of the
other exceptions that are thrown. Something is obviously wrong with your
C++ runtime environment, causing it to miss the exception. Check that
your compile options match the options that omniORB's examples use.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list