Link Details

This block shows a refactoring of a double-nested try/catch/finally block that attempted to handle exceptions in the finally block correctly. It shows were those assumptions were wrong and what a better solution is.

Posted by ae71239  |   May 20 2010 / 05:30

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.

Comments

User 211643 avatar

zynasis replied ago:

this is not realistic at all. nobody would do this unless they were just testing what would happen if they did.

Reply 0 votes
User 101861 avatar

Andreas Ebbert-Karroum replied ago:

what do you mean with "this"? the original code or the refactored code?

Reply 0 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone