[omniORB] CORBA::Object::_non_existent()??? - does not follow spec.

Kruczkowski, Marzenna MKruczk@thestar.ca
Fri Sep 27 21:06:02 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.


--==_20123883780497==_
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C26660.80BE3D80"

------_=_NextPart_001_01C26660.80BE3D80
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Bjorn,

The problem is the method does not return true. It raises the exception. And
I hope you agree, that the main reason for using this method is to avoid an
exception before using the object reference.
Otherwise, I will just use the object and check for the exceptions.

Regards,
Marzenna


----------------------------------------------------------------------------
Marzenna Kruczkowski - mkruczk@thestar.ca
 tel. 416 869-4606  fax. 416 869-4804
Corporate Information Technology 
Torstar Media Group

-----Original Message-----
From: bjorn rohde jensen [mailto:bjensen@fastmail.fm]
Sent: Friday, September 27, 2002 3:05 PM
To: Kruczkowski, Marzenna
Cc: Omniorb-mail-List (E-mail)
Subject: Re: [omniORB] CORBA::Object::_non_existent()??? - does not follow
spec.

Hi Marzenna,

  If you look in the CORBA spec, you will find,
that _non_existent must throw an exception, if
it can not make a reliable determination of
object existence due to failure, but it has to
return boolean true instead of raising
OBJECT_NOT_EXIST(loosely quoted).
_non_existent is an ordinary method in all other
respects.
  OmniORB4 does the right thing, if i understand
correctly, and Mico is bugged;)

Yours sincerely,

Bjorn

------_=_NextPart_001_01C26660.80BE3D80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [omniORB] CORBA::Object::_non_existent()??? - does not =
follow spec.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi Bjorn,</FONT>
</P>

<P><FONT SIZE=3D2>The problem is the method does not return true. It =
raises the exception. And I hope you agree, that the main reason for =
using this method is to avoid an exception before using the object =
reference.</FONT></P>

<P><FONT SIZE=3D2>Otherwise, I will just use the object and check for =
the exceptions.</FONT>
</P>

<P><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>Marzenna</FONT>
</P>
<BR>

<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
-------------</FONT>
<BR><FONT SIZE=3D2>Marzenna Kruczkowski - mkruczk@thestar.ca</FONT>
<BR><FONT SIZE=3D2>&nbsp;tel. 416 869-4606&nbsp; fax. 416 =
869-4804</FONT>
<BR><FONT SIZE=3D2>Corporate Information Technology </FONT>
<BR><FONT SIZE=3D2>Torstar Media Group</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: bjorn rohde jensen [<A =
HREF=3D"mailto:bjensen@fastmail.fm">mailto:bjensen@fastmail.fm</A>]</FON=
T>
<BR><FONT SIZE=3D2>Sent: Friday, September 27, 2002 3:05 PM</FONT>
<BR><FONT SIZE=3D2>To: Kruczkowski, Marzenna</FONT>
<BR><FONT SIZE=3D2>Cc: Omniorb-mail-List (E-mail)</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [omniORB] =
CORBA::Object::_non_existent()??? - does not follow spec.</FONT>
</P>

<P><FONT SIZE=3D2>Hi Marzenna,</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; If you look in the CORBA spec, you will =
find,</FONT>
<BR><FONT SIZE=3D2>that _non_existent must throw an exception, =
if</FONT>
<BR><FONT SIZE=3D2>it can not make a reliable determination of</FONT>
<BR><FONT SIZE=3D2>object existence due to failure, but it has =
to</FONT>
<BR><FONT SIZE=3D2>return boolean true instead of raising</FONT>
<BR><FONT SIZE=3D2>OBJECT_NOT_EXIST(loosely quoted).</FONT>
<BR><FONT SIZE=3D2>_non_existent is an ordinary method in all =
other</FONT>
<BR><FONT SIZE=3D2>respects.</FONT>
<BR><FONT SIZE=3D2>&nbsp; OmniORB4 does the right thing, if i =
understand</FONT>
<BR><FONT SIZE=3D2>correctly, and Mico is bugged;)</FONT>
</P>

<P><FONT SIZE=3D2>Yours sincerely,</FONT>
</P>

<P><FONT SIZE=3D2>Bjorn</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C26660.80BE3D80--


--==_20123883780497==_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Get to know us
http://www.thestar.com - Canada's largest daily newspaper online
http://www.toronto.com - All you need to know about T.O.
http://www.workopolis.com - Canada's biggest job site
http://www.torontostartv.com - Webcasting & Production
http://www.newinhomes.com - Ontario's Largest New Home & Condo Website
http://www.waymoresports.com - Canada's most comprehensive sports site
http://www.tmgtv.ca - Torstar Media Group Television

--==_20123883780497==_--