Issue 1845: set_dev_params() method in AVStreams IDL Interface (avstreams-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: The set_dev_params() method in the AVStreams IDL interface raises a PropertyService::PropertyException. However, PropertyException which used to be an exception, was recently revised to be a struct in the Property Service. This broke the AVStreams interface since a struct cannot be raised. Can you please fix this. Resolution: Revised Text: Actions taken: August 20, 1998: received issue Discussion: End of Annotations:===== Return-Path: Date: Thu, 20 Aug 1998 01:54:37 -0400 From: www To: juergen@omg.org, web-incoming@omg.org Subject: WWW Form output Name: Irfan Pyarali Company: Washington University Email: irfan@cs.wustl.edu Notification: Yes Specification: Audio/ Vi deo St reams V1.0 Section: Formal #: Version: Revision_Date: Page: Nature: Revision Severity: Significant full_desc: The set_dev_params() method in the AVStreams IDL interface raises a PropertyService::PropertyException. However, PropertyException which used to be an exception, was recently revised to be a struct in the Property Service. This broke the AVStreams interface since a struct cannot be raised. Can you please fix this. Thanks submit: Submit Issue Report Return-Path: From: "Martin Chapman" To: "Juergen Boldt" Subject: RE: issue 1845 -- AV Streams Issue Date: Fri, 21 Aug 1998 09:34:52 +0100 X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Juergen, Do you who this issues came from. No one I know of knows of this change to the property service. Martin. > -----Original Message----- > From: Juergen Boldt [mailto:juergen@omg.org] > Sent: 20 August 1998 14:25 > To: issues@omg.org > Subject: issue 1845 -- AV Streams Issue > > > This is issue # 1845 > > set_dev_params() method in AVStreams IDL Interface > > The set_dev_params() method in the AVStreams IDL interface raises a > PropertyService::PropertyException. However, PropertyException > which used > to be an exception, was recently revised to be a struct in the > Property > Service. This broke the AVStreams interface since a struct cannot > be > raised. Can you please fix this. > > ================================================================ > > Juergen Boldt > Technical Process Manager > > Object Management Group Tel. +1-508-820 4300 ext. 132 > Framingham Corporate Center Fax: +1-508-820 4303 > 492 Old Connecticut Path Email: juergen@omg.org > Framingham, MA 01701 > > ================================================================ > Return-Path: From: "Daniel R. Frantz" To: Subject: RE: issue 1845 -- AV Streams Issue Date: Fri, 21 Aug 1998 09:34:46 -0400 X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sorry to put a reply on the issues list, but there doesn't seem to be a list for the property service and I don't know where Juergen might have put this. The property service hasn't changed since its approval in 1995. I just checked the final submission (1995/95-06-01) against the currently published spec (formal/97-12-20). They have the same IDL for PropertyException, a struct. Dan Frantz >-----Original Message----- >From: Juergen Boldt [mailto:juergen@omg.org] >Sent: 20 August 1998 14:25 >To: issues@omg.org >Subject: issue 1845 -- AV Streams Issue > > >This is issue # 1845 > >set_dev_params() method in AVStreams IDL Interface > >The set_dev_params() method in the AVStreams IDL interface raises a >PropertyService::PropertyException. However, >PropertyException which used >to be an exception, was recently revised to be a struct in the Property >Service. This broke the AVStreams interface since a struct cannot be >raised. Can you please fix this. Return-Path: Sender: jis@fpk.hp.com Date: Fri, 21 Aug 1998 09:47:24 -0400 From: Jishnu Mukerji Organization: Hewlett-Packard New Jersey Laboratories To: Juergen Boldt Cc: issues@omg.org Subject: Re: issue 1845 -- AV Streams Issue References: <3.0.32.19980820092458.00ab973c@emerald.omg.org> Juergen Boldt wrote: > > This is issue # 1845 > > set_dev_params() method in AVStreams IDL Interface > > The set_dev_params() method in the AVStreams IDL interface raises a > PropertyService::PropertyException. However, PropertyException > which used > to be an exception, was recently revised to be a struct in the > Property > Service. This broke the AVStreams interface since a struct cannot > be > raised. Can you please fix this. The AVStreams IDL as adopted has this interesting feature that it defines an exception called "PropertyException" in module AVStreams. Then it proceeds to use something called "PropertyService::PropertyException" at three places and (unqualified) "PropertyException" at other places. Of course, there is not and there never was anything called "PropertyService::PropertyException". The struct that is being alluded to in the issue is actually "CosPropertyService::PropertyException". Looks suspiciously like a typo to me. the intent most likely was to use "AVStreams::PropertyException" or (unqualified) "PropertyException" everywhere in the AVStreams module (unless of course there was a more sinister intention to merely obfuscate - but I doubt it:-)). The fix is to simply remove the prefix "PropertyService::" from all occurences of the string "PropertyService::PropertyException" in the module AVStreams. BTW, in CosPropertyService, the PropertyException struct (or rather a sequence of these structs) is bundled in the MultipleExceptions exception, just in case someone was wondering what the struct is used for. Personally, I think that the name PropertyException for that struct was unfortunate - perhaps PropertyExceptionInfo or some such would have been better. Oh well.... -- Jishnu Mukerji Systems Architect Advanced Development Enterprise Systems Group System & Technology Organization Email: jis@fpk.hp.com Hewlett-Packard New Jersey Labs, Tel: +1 973 443 7528 300 Campus Drive, 2E-62, Fax: +1 973 443 7422 Florham Park, NJ 07932, USA.