title: Will a subclass catch block catch a checked parent exception?
body: <p>I have a method with a checked exception for a parent class, which can throw exceptions of the type parent and subclass</p>
  
  <pre><code>public void method() throws ParentException {
      if( false ) throw new ParentException();
      else if( true ) throw new ChildException(); // this one is thrown
  }
  </code></pre>
  
  <p>and I have a cascade catch block, which first has the child exception</p>
  
  <pre><code>try {
      method();
  } catch (ChildException e) {
      // I get here?
  } catch (ParentException e) {
      // or here?
  
  }
  </code></pre>
  
  <p>Which block will catch the exception thrown? Since the method declares explicitly the ParentException only, would the ChildException be shown as an instance of ParentException? </p>