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.
Comments
Motion Control replied ago:
Very interesting. But no article about Java Exception handling is complete without thorough treatment of the finally clause.
Voters For This Link (32)
Voters Against This Link (3)