[omniORB] handling of bad_alloc

Duncan Grisby duncan@grisby.org
Mon Feb 24 19:58:01 2003


On Thursday 20 February, Stefan Seefeld wrote:

> Is the behavior standardized ? Should it be mapped
> to CORBA::NO_MEMORY ? Or do I need to care for
> bad_alloc myself in the server if I want to avoid
> 'unknown exceptions' ?

The spec says that all non-CORBA exceptions are mapped to UNKNOWN, so
that's what omniORB does.

Cheers,

Duncan.

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