title: Rethrowing checked exceptions
body: <pre><code>public void foo() {
   begin();
   try {
    ...
    commit();
   } catch (Exception e) {
    rollback();
    throw e;
   }
  }
  </code></pre>
  
  <p>In the sample above, there is an error because <code>foo</code> has no <code>throws Exception</code>. Adding that wouldn't make do the method's usability a lot of good either.</p>
  
  <p>What's the best way to do this? How do you do something if an error occurs without really "handling" the error?</p>