Does finally always get called?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/65035/in-java-does-return-trump-finally">In Java, does return trump finally?</a>  </p>
</blockquote>



<p>What does this function return?</p>

<pre><code>public int wasExceptionThrown() {
   try {
     if(1==1)
        throw new RuntimeException();
     return 1;
   } catch(Exception e) {
     return 2;
   } finally {
     return 3;
   }
   return 0;
}
</code></pre>
