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

Bug 220369

Summary: [api] JavaSnippetEditor Illegally instantiates JavaModelException
Product: [Eclipse Project] JDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: darin.eclipse
Version: 3.4   
Target Milestone: 3.4 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Rennie CLA 2008-02-26 09:42:33 EST
using the new API tooling I found that JavaSnippetEditor illegally instantiates JavaModelException. We should be creating new CoreExceptions, not JME's.
Comment 1 Michael Rennie CLA 2008-02-26 10:40:17 EST
Additional cases found in:

JavaUISourceLocator
DirectorySourceLocation
JavaSourceLocation

also found since tag problems in:

IJavaDebugUIContants
Comment 2 Michael Rennie CLA 2008-02-27 10:09:51 EST
fixed in HEAD.
Comment 3 Michael Rennie CLA 2008-02-27 10:10:03 EST
please verify Darin W
Comment 4 Darin Wright CLA 2008-03-24 14:58:02 EDT
Verified.