[omniORB] does orb->destroy() throw exception
Duncan Grisby
dgrisby@uk.research.att.com
Mon, 22 Oct 2001 11:06:02 +0100
On Monday 22 October, Ram wrote:
> does the orb -> destroy() call raise an exception.if so,what kind of
> exception does it raise?
orb->destroy() can in theory raise any CORBA system exception, so
portable code should be prepared for any of them. Practically, the
ones you might get are BAD_INV_ORDER if you try to destroy during an
operation invocation (but only with omniORB 4 -- in omniORB 3 it
deadlocks) and OBJECT_NOT_EXIST if you try to destroy more than once.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --