title: Catch block is not executed when try block method is failed
body: <p>I wrote a try catch block to execute the test and if its fails then take screenshot in catch block. But catch block is not executed and the @After method is executed when the method in try block is failed. See the code below.</p>
  
  <p>I am unable to understand where i am going wrong here.</p>
  
  <pre><code>@Test
  public void testScenarios(){
      try {
          test();
      }catch (Exception e){
          log.error(e.getLocalizedMessage(), e);
          log.info("Capturing the screenshot for the failed test.");
          takeScreenshot();
      }
  }
  
  public void test() {
  
      MyAccountPage myAccountPage = initElements(driver(), MyAccountPage.class);
      myAccountPage.clickOrderHistoryAndDetails();
  
      OrderHistoryPage orderHistoryPage = initElements(driver(), OrderHistoryPage.class);
      orderHistoryPage.selectLatestOrder();
      orderHistoryPage.verifyProduct(colour);
  
  }
  </code></pre>
  
  <p>my test will be failining in orderHistoryPage.verifyProduct(colour); due to unable to locate element.</p>