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

Bug 325353

Summary: Usability Issue - Error Message when using DataObject from another HelperContext
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david.twelves, denise.mahar
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed changes and test none

Description Blaise Doughan CLA 2010-09-15 10:07:40 EDT
When a DataObject is created in one HelperContext and then used with a Helper from another HelperContext we throw an Exception such as "no such descriptor".  We should throw a better exception in this cases informing the user that they are trying to use a DataObject from an incorrect HelperContext.
Comment 1 Denise Smith CLA 2011-04-18 11:49:28 EDT
Created attachment 193495 [details]
Proposed changes and test
Comment 2 Denise Smith CLA 2011-04-18 13:20:44 EDT
Added new SDOException to handle this case.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:31:12 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink