Link Details

Link 416525 thumbnail
User 101861 avatar

By ae71239
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
  • 5693
  • 9


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.

Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax