Legacy Issue Number: 4266
Source: Thematix Partners LLC ( Jishnu Mukerji [X] (Inactive))
What happens when someone attempts to set the mode attribute while not
adhering to the restrictions spelled out?
We should say what happens if these conditions
aren't met. Furthermore, a oneway method can't have exceptions.
- add a new row to the BAD_PARAM block in Table 10-1 (p.10-10):
Exception Minor Code Explanation
BAD_PARAM N Attempt to define a oneway
operation with non-void result,
out or inout parameters or
- Add a similar entry to table 4.3 (p.4-61).
- Change the last para of 10.5.22.2 to read:
"The mode attribute can be set to OP_ONEWAY only if the result is
TC_void, all elements of params have a mode of PARAM_IN, and the
list of exceptions is empty. If the mode is set to OP_ONEWAY
when these conditions do not hold, a BAD_PARAM exception is
raised with minor code N."
This is perhaps rather large to be a friendly ammendment. I'm
happy to vote YES to the current resolution, which is still a
useful change, and raise this for next time. I can't discuss
further in this round, as I'm on vacation for a week from this
Reported: CORBA 2.4.2 — Wed, 11 Apr 2001 04:00 GMT
Disposition: Resolved — CORBA 2.5
Updated: Fri, 6 Mar 2015 20:58 GMT
CORBA25 — Section 10.5.22.2 what happens when conditions not met
- Key: CORBA25-24
- OMG Task Force: Core December 2000 RTF