Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 416525 thumbnail
User 101861 avatar

By ae71239
via blog.codecentric.de
Published: May 20 2010 / 05:30

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.
  • 31
  • 2
  • 4874
  • 7

Comments

Add your comment
User 211643 avatar

zynasis replied ago:

0 votes Vote down Vote up Reply

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

User 101861 avatar

Andreas Ebbert-Karroum replied ago:

0 votes Vote down Vote up Reply

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

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.