Issue 10684: Clarify exceptions (data-distribution-rtf) Source: PrismTech (Mr. Erik Hendriks, erik.hendriks(at)prismtech.com) Nature: Clarification Severity: Summary: Problem: The get operation on the List and StrMap and IntMap classes should mention that a NoSuchElement is raised if the List/IntMap/StrMap does not contain an element for the index/key specified with the get operation. In the IDL description in section 3.2.1.2 on page 3-55, 3-56 add the raise clauses to the operations: For the list valuetype (also fix type of the first attribute of the List valuetype, operation put which takes an index, not a key as param) replace: ObjectRoot get( in long key ); With: ObjectRoot get( in long index ) raises (NoSuchElement); For the StrMap valuetype: Replace: ObjectRoot get( in string key ); With: ObjectRoot get( in string key ) raises (NoSuchElement); For the IntMap valuetype: Replace: ObjectRoot get( in long key ); With: ObjectRoot get( in long key ) raises (NoSuchElement); In section 3.2.1.2.2 Implied IDL on page 3-61 and 3-62 For the list valuetype (also fix type of the first attribute of the List valuetype, operation put which takes an index, not a key as param) replace: Foo get( in long key ); With: Foo get( in long index ) raises (NoSuchElement); For the StrMap valuetype: Replace: Foo get( in string key ); With: Foo get( in string key ) raises (NoSuchElement); For the IntMap valuetype: Replace: Foo get( in long key ); With: Foo get( in long key ) raises (NoSuchElement); Solution: TBD Resolution: Revised Text: Actions taken: February 12, 2007: received issue Discussion: Clarify exceptions for the get operations on the List in section 3.1.6.3.16 and StrMap in section 3.1.6.3.18 and the IntMap in section 3.1.6.3.19 End of Annotations:===== iler: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 12 Feb 2007 15:26:57 -0500 To: issues@omg.org, Daisuke Hashimoto From: Juergen Boldt Subject: issue 10684 -- DDS RTF issue X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at omg.org This is issue # 10684 From: "Erik Hendriks" Clarify exceptions Clarify exceptions for the get operations on the List in section 3.1.6.3.16 and StrMap in section 3.1.6.3.18 and the IntMap in section 3.1.6.3.19 Problem: The get operation on the List and StrMap and IntMap classes should mention that a NoSuchElement is raised if the List/IntMap/StrMap does not contain an element for the index/key specified with the get operation. In the IDL description in section 3.2.1.2 on page 3-55, 3-56 add the raise clauses to the operations: For the list valuetype (also fix type of the first attribute of the List valuetype, operation put which takes an index, not a key as param) replace: ObjectRoot get( in long key ); With: ObjectRoot get( in long index ) raises (NoSuchElement); For the StrMap valuetype: Replace: ObjectRoot get( in string key ); With: ObjectRoot get( in string key ) raises (NoSuchElement); For the IntMap valuetype: Replace: ObjectRoot get( in long key ); With: ObjectRoot get( in long key ) raises (NoSuchElement); In section 3.2.1.2.2 Implied IDL on page 3-61 and 3-62 For the list valuetype (also fix type of the first attribute of the List valuetype, operation put which takes an index, not a key as param) replace: Foo get( in long key ); With: Foo get( in long index ) raises (NoSuchElement); For the StrMap valuetype: Replace: Foo get( in string key ); With: Foo get( in string key ) raises (NoSuchElement); For the IntMap valuetype: Replace: Foo get( in long key ); With: Foo get( in long key ) raises (NoSuchElement); Solution: TBD Juergen Boldt Director, Member Services Object Management Group 140 Kendrick St Building A Suite 300 Needham, MA 02494 USA tel: +1 781 444 0404 x 132 fax: +1 781 444 0320 email: juergen@omg.org www.omg.org