title: Mark TestNG test as passed
body: <p>In my test scenario, if a certain flag is set, I need to skip the remaining steps. Due to the way the test suite functions, a simple if-else is not sufficient here. So I throw an exception and catch it in my implementation of <code>IHookable.run()</code> for some logging.</p>
  
  <p>Now, even if I don't rethrow the exception after catching it, TestNG marks the test as failed. I have tried <code>Reporter.getCurrentTestResult().setStatus(ITestResult.SUCCESS);</code> and <code>Reporter.getCurrentTestResult().setThrowable(null);</code> in the catch block but nothing seems to prevent TestNG from marking the test as failed.</p>
  
  <p>Any other ideas on how I can implement this scenario? Thank you for your time!</p>