«« Next » « Previous
«« Next » « Previous

Link Details

Link 86623 thumbnail
User 119725 avatar

By PeterStofferis
via javaspecialists.eu
Published: Jun 11 2008 / 09:37

In this article of Dr. Heinz M. Kabutz, we look at exception handling in Java. We start with the history of exceptions, looking back at the precursor of Java, a language called Oak. We see reasons why Thread.stop() should not be used and discover the mystery of the RuntimeException name. We then look at some best practices that you can use for your coding, followed by some worst practices, in the form of exception anti-patterns.
  • 33
  • 3
  • 2315
  • 663

Comments

Add your comment
User 285418 avatar

Motion Control replied ago:

0 votes Vote down Vote up Reply

Very interesting. But no article about Java Exception handling is complete without thorough treatment of the finally clause.

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.