Archive for November 17th, 2008



Throwing undeclared checked exceptions

Sometimes checked exceptions can be a problem. I tried to implement a common logic to retry failing network operations and it resulted into a kind of command pattern on which, as usual, the execute() method throws java.lang.Exception. That complicated the caller code that has to catch and handle java.lang.Exception instead of the more specific exceptions... [...]




About

You are currently browsing the NewInstance weblog archives for the day Monday, November 17th, 2008.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Calendar

November 2008
M T W T F S S
« Oct   Dec »
 12
3456789
10111213141516
17181920212223
24252627282930

Follow me

twitter flickr LinkedIn feed

Enter your email address:

Archives


Categories

Tag Cloud