title: Skip a line in junit test
body: <p>I am writing junit test case for a method. While doing so, there is an exception in a line which is calling another void method. Because of this, the next line is getting affected. I want to skip this line and continue execution. Anyone please suggest me the solution.</p>
  
  <pre><code>helperObject.methodCall(session);//Exception occurred inside this mthd
  httpResponse = buildSuccessResponse(ccId);
  </code></pre>
  
  <p>So whatever exception occurred in first line, i want second line to be executed.(because of exception i dint get the code coverage).</p>