title: Side effects of throwing an exception inside a synchronized clause?
body: <p>Are there any unclear side effects to throwing an exception from within a synchronized clause?
  What happens to the lock? </p>
  
  <pre><code>private void doSomething() throws Exception {...}
  
  synchronized (lock) {   
      doSomething();       
  }
  </code></pre>