Bug 481642 - Surround with try/catch should throw RuntimeException by default instead of printStackTrace()
Summary: Surround with try/catch should throw RuntimeException by default instead of p...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-07 07:51 EST by Missing name CLA
Modified: 2015-11-07 07:51 EST (History)
0 users

See Also:


Attachments
Surround with try/catch throw new RuntimeException() instead of printStackTrace() (1.04 KB, patch)
2015-11-07 07:51 EST, Missing name CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2015-11-07 07:51:34 EST
Created attachment 257802 [details]
Surround with try/catch throw new RuntimeException() instead of printStackTrace()

Throwing a RuntimeException is a better default than printStackTrace()
I am sure experienced coders will agree. It is a better default for experienced coders and for newbies.