[omniORB] unknown exception

Duncan Grisby dgrisby@uk.research.att.com
Tue, 21 Nov 2000 11:46:24 +0000


On Monday 20 November, "Ilinykh, Andre" wrote:

> My question is about "unknown exception". Every sample in omniORB hase code
> like that:

[...]
> catch(CORBA::SystemException& se) {
[...]

> I catch unknown (...) exception here. What it can be? I used omniORB 2.8 for
> Windows NT.

The problem is that with omniORB 2.8, MSVC is unable to catch CORBA
exceptions by base class. You have to explicitly catch all the
possible CORBA system exceptions. In omniORB 3 we figured out how to
coerce MSVC into doing the right thing, so it's not a problem any
more.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --