error-prone icon indicating copy to clipboard operation
error-prone copied to clipboard

Disallow extending Throwable

Open cushon opened this issue 11 years ago • 1 comments

Original issue created by [email protected] on 2013-08-01 at 12:19 AM


Java allows you to extend Throwable, but it's generally a bad idea. Most error handling code assumes that the only direct subtypes of Throwable are Exception and Error, and do not deal correctly with other subtypes.

cushon avatar Oct 31 '14 15:10 cushon

Hi! We are a small group of KTH students who would like to try to contribute towards this issue. Is it OK to open a PR for it?

samuelsoder avatar Mar 07 '22 09:03 samuelsoder