Link Details

Link 99104 thumbnail
User 111696 avatar

By bloid
via apocalisp.wordpress.com
Published: Jul 30 2008 / 18:40

How many try/catch blocks have you written in your day? Hundreds? Thousands? How many of the catch blocks look exactly the same? Is try/catch synonymous with copy/paste? Well, you may have written your last catch block. Follow me.
  • 9
  • 3
  • 1410
  • 624

Comments

Add your comment
User 211643 avatar

zynasis replied ago:

-1 votes Vote down Vote up Reply

thanks, but no thanks.

User 254930 avatar

dzonereader replied ago:

0 votes Vote down Vote up Reply

Very cool technique, I've been reusing similar technique to handle WS errors for many services.

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.

Voters For This Link (9)



Voters Against This Link (3)