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

Bug 349569

Summary: Need new exceptions for java query class creation
Product: z_Archived Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: EMF-FacetAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: emft.facet-inbox, gdupe, nicolas.bros
Version: unspecifiedFlags: gdupe: juno+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 349556    
Attachments:
Description Flags
Patch for Bug 349569 nicolas.bros: iplog+, nicolas.bros: review+

Description Nicolas Guyomar CLA 2011-06-16 10:48:03 EDT
Hi,

We need 2 new exceptions in org.eclipse.emf.facet.query.java.core.internal.exceptions

- ClassAlreadyExistsException
This exception has to be raised whenever the class being created already exists

- ResourceURIExpectedException
This exception is raised whenever an uri is not a resource one as expected

Regards,
Nicolas Guyomar
Comment 1 Nicolas Guyomar CLA 2011-06-16 10:52:26 EDT
Created attachment 198115 [details]
Patch for Bug 349569

Hi,

Please find attached the required 2 new exceptions.

(a) I, Nicolas Guyomar, wrote 100% of the code I've provided.
(b) I have the right to contribute the code to Eclipse.
(c) I contribute the content under the EPL.
(d) This contribution contains no Cryptography features.

Regards,
Nicolas Guyomar
Comment 2 Nicolas Bros CLA 2011-09-22 11:24:28 EDT
Comment on attachment 198115 [details]
Patch for Bug 349569

This is a contribution from an employee of Mia-Software, targeting a future
Juno release. The company has signed a Member Committer Agreement. The
contribution does not need a CQ (see bug 322327).

Committed in revision 849.
Comment 3 Nicolas Bros CLA 2011-09-22 11:25:05 EDT
I have committed the patch on the trunk in revision 849.
Comment 4 Gregoire Dupe CLA 2012-05-23 06:41:18 EDT
This bug can be closed.