Re: Exception question



Hi Jules,

On Thu, 2003-06-19 at 09:47, Jules Colding wrote:
> I assume that it is necessary to check for exception in both code paths
> after the is_nil() call as the return value of is_nil() is unspecified
> in the case of an exception. Is that right?

	In theory - however the code very quickly looks grotesque as you can
see ;-) IIWY I'd do:

	if (read_obj == CORBA_OBJECT_NIL)

	or - even:

	if (!read_obj)

	since I can't envisage a situation where CORBA_OBJECT_NIL != NULL.

	HTH,

		Michael.

-- 
 michael@ximian.com  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]