title: Continue Execution even after program catches exception
body: <p>here is a sample:</p>
  
  <pre><code>class A{
  
      method1(){
       int result = //do something
       if(result &gt; 1){
        method2();
       } else{
         // do something more
       }
      }
  
      method2(){
       try{
         // do something
       } catch(Exception e){
         //throw a message
        }
  
       }
      }
  </code></pre>
  
  <p>when situation is something like this.</p>
  
  <p>When the catch block inside Method2 is called, I want the program to continue execution and move back to the else block inside Method 1. How can I achieve this?</p>
  
  <p>Thanks for any help.</p>