title: Java exception not caught?
body: <p>I have a small <strong>theoretical</strong> problem with try-catch constructions.</p>
  
  <p>I took a practical exam yesterday about Java and I don't understand following example:</p>
  
  <pre><code>try {
      try {
          System.out.print("A");
          throw new Exception("1");
      } catch (Exception e) {
          System.out.print("B");
          throw new Exception("2");
      } finally {
          System.out.print("C");
          throw new Exception("3");
      }
  } catch (Exception e) {
      System.out.print(e.getMessage());
  }
  </code></pre>
  
  <p>The question was "what the output will look like?"</p>
  
  <p>I was pretty sure it would be AB2C3, BUT suprise suprise, it's not true.</p>
  
  <p>The right answer is ABC3 (tested and really it's like that).</p>
  
  <p>My question is, where did the Exception("2") go?</p>