Issue 2874: PDM RTF Issue - The Identifiable interface should raise InvalidProperties (pdm-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: Identifiable interfaces should be able to raise InvalidProperties exceptions. The PdmFoundation operations Identifiable::change_id and IdentificationContext::generate_id both take a property_set parameter but, unlike other operations that use PropertySets, they are not defined to raise the InvalidProperties exception. This is a minor issue. In the interim, implementations can raise the ValidationError exception if the property_set is invalid. Resolution: resolved in 1.2 RTF Revised Text: :change_id and IdentificationContext::generate_id both take a property_set parameter but, unlike other operations that use PropertySets, they are not defined to raise the InvalidProperties exception. Actions taken: September 1, 1999: received issue May 4, 2000: closed issue Discussion: Add InvalidProperties exceptions as suggested. Revised Text: In the IDL in section 2.2.3.4 Identifiable, and in section 2.2.4 PdmFoundation IDL, add the InvalidProperties exception to the raises clause of the change_id operation. In the IDL in section 2.2.3.5 IdenticationContext, and in section 2.2.4 PdmFoundation IDL, add the InvalidProperties exception to the raises clause of the generate_id operation. End of Annotations:===== Date: Wed, 01 Sep 1999 11:12:19 -0500 From: Duane Silkworth Reply-To: Duane.Silkworth@MetaphaseTech.com Organization: Metaphase Technology X-Mailer: Mozilla 4.04 [en] (WinNT; U) MIME-Version: 1.0 To: issues@omg.org Subject: PDM RTF Issue - The Identifiable interface should raise InvalidProperties Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: 3017619ee655e15813e20477f5ddc59a Identifiable interfaces should be able to raise InvalidProperties exceptions. The PdmFoundation operations Identifiable::change_id and IdentificationContext::generate_id both take a property_set parameter but, unlike other operations that use PropertySets, they are not defined to raise the InvalidProperties exception. This is a minor issue. In the interim, implementations can raise the ValidationError exception if the property_set is invalid. -- Duane A. Silkworth Metaphase Technology Division, SDRC 4233 Lexington Avenue North, Suite 3290 Arden Hills, MN 55126-6198 voice:651-482-4140 fax:651-482-4001 mailto:Duane.Silkworth@MetaphaseTech.com http://www.metaphasetech.com