Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 79685

Summary: CBEnative: constructor for situation type requires unnecessary error array.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: HyadesAssignee: Bob Duncan <duncan>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 80013    

Description Paul Slauenwhite CLA 2004-11-29 12:46:30 EST
Native Common Base Event implementation constructor for situation type requires 
unnecessary error array.

This is problematic due since:

-The user does not know the size of the array.
-Typical usage (e.g. using provided constants) renders this parameter 
unnecessary.

Consider returned a error value (e.g. integer) since there is only a few 
possible error conditions.
Comment 1 Bob Duncan CLA 2004-12-05 02:14:05 EST
These constructors now return an integer via an error parm on failure. Macro 
constants for the integer errors and corresponding strings are found in 
CommonBaseEvent.h.

Code checked into head 12/05/04 1:55am (as part of a batch of small related 
fixes -ie: 79685,79702,79720,80077).
Comment 2 Paul Slauenwhite CLA 2004-12-07 12:03:07 EST
Verified in Toronto's 20041206_1849 (HEAD) build on December 7, 2004.
Comment 3 Paul Slauenwhite CLA 2004-12-07 12:03:15 EST
Closing.