HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Give a link some love! Login and vote now.
Link 111296 thumbnail
User 199933 avatar

By g_korland
via jroller.com
Published: Sep 07 2008 / 12:23

java Generics was born in sin, but it also breaks java exception model.
  • 11
  • 11
  • 2247
  • 1

Comments

Add your comment
User 161039 avatar

mheath replied ago:

-1 votes Vote down Vote up Reply

You want to throw an undeclared checked exception? We've been able to do this for years without generics. Just do:

Thread.currentThread().stop(new IOException("Have a nice day!"));

Really, just because you can do something esoteric doesn't mean that you should expect stupid people to do so.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.