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

Bug 18072

Summary: Try catch popup message
Product: [Eclipse Project] JDT Reporter: David Graham <david.malcom.graham>
Component: UIAssignee: Dirk Baeumer <dirk_baeumer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P4    
Version: 2.0   
Target Milestone: 2.1 RC1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 18303    
Bug Blocks:    

Description David Graham CLA 2002-05-28 12:40:25 EDT
Small request: when you select a code block that does not throw a checked exception, a popup window 
asks if you'd like to catch RuntimeException.  Can there be a "Don't show this message again" 
checkbox on the popup so we don't have to make the same choice every time?  Thanks.
Comment 1 Erich Gamma CLA 2002-05-30 08:51:07 EDT
we have to inform the user that there is now exception thrown. 

However, the default should be No and not Yes, then you just have to press 
return.

Also there in an String Externalization problem the title shows up 
as "&try/catch"
Comment 2 Dirk Baeumer CLA 2002-05-30 09:36:37 EDT
NLS bug got already fixed.
Comment 3 Dirk Baeumer CLA 2002-06-07 13:58:51 EDT
Marking as later since platform doesn't fix 18303 for 2.0
Comment 4 Dirk Baeumer CLA 2002-08-14 08:23:22 EDT
Reopen for investigation
Comment 5 Dirk Baeumer CLA 2003-02-12 13:26:55 EST
Added work around for default button. This is now No.

Fixed for 2.1 RC1.
Comment 6 David Graham CLA 2003-02-12 13:34:03 EST
Instead of catching RuntimeException it could be a bit smarter and check the 
@throws javadoc and catch the exceptions listed there.
Comment 7 Dirk Baeumer CLA 2003-02-12 13:49:51 EST
This request is covered by bug 18687.