REL 1.0 NO IDEA Avatar
  1. OMG Issue

REL — 9/Relationship Service specification

  • Key: REL-4
  • Legacy Issue Number: 2972
  • Status: open  
  • Source: Anonymous
  • Summary:

    CosGraphs::Node interface provides a function add_role() which helps in adding a new role to the related
    object the Node is representing. The specifications suggests to raise an exception DuplicateRoleType
    if the new role is same, subtype, supertype of one of the role of the Node object.

    What if the user of function calls add_role() with a role for an object which is not represented by this node.
    Definitely we cannot add the new role to the Node. Only thing we can do here is return out of function.
    But user will not be aware that the function has failed, since the return type is void.

  • Reported: REL 1.0b1 — Fri, 29 Oct 1999 04:00 GMT
  • Updated: Sat, 7 Mar 2015 05:56 GMT