title: Want program to continue even when there is an exception
body: <p>I have searched a few times but I kinda, didnt found what i exactly wanted.</p>
  
  <p>I was working out with exceptional handling (try/catch), where i found this obstacle. If the program finds an exception, it terminated whatsoever.</p>
  
  <p>I tried calling a function in the <code>catch</code> part, but it still terminates.</p>
  
  <pre><code>void exception_handle() //This is for handling exception if user inputs a char instead of int//
  {
  user_play uplay;
  try
   {
      uplay.usersentry();
   }
  catch(std::runtime_error&amp; e)
   {
      cout&lt;&lt;"Input a string bro, not a character"&lt;&lt;endl;
      user_input();
   }
  }
  </code></pre>
  
  <p>Here is the class:</p>
  
  <pre><code>class user_play //this class is for letting user play the game by allowing them to enter desired number in the desired empty space//
  {
   public:
   void usersentry()
    {
      int tempdata;
      retry:
       cout&lt;&lt;"\n\n Enter the row and coloumn where you want to enter data"&lt;&lt;endl;
       cin&gt;&gt;i&gt;&gt;j;
          if (i&gt;=1 &amp;&amp; i&lt;=9 &amp;&amp; j&gt;=1 &amp;&amp; j&lt;=9)
          {
              cout&lt;&lt;"\n Enter your desired value to put in that place"&lt;&lt;endl;
              cin&gt;&gt;tempdata;
              if(tempdata&gt;=1 &amp;&amp; tempdata&lt;=9)
              {
                  data=tempdata;
              }
              else
              {
                  throw std::runtime_error("Soduku contains numbers from 1 to 9 only.Please try again");
                  loops++;
              }
          }
          else
          {
              throw std::runtime_error("Soduku row exists between 1 and 9 only.Please try again");
              loops++;    
          }
     }
  };
  </code></pre>
  
  <p>Here is the function(It's incomplete as i am trying to debugg)</p>
  
  <pre><code>int user_input() //this one is for taking correct value from user and storing it in its respective place//
  {
  a=0;
  //Object Declaration//
  rowrules rr;
  columnrules cr;
  
  //for handling the program exceptions
  exception_handle();
  
  //rules for row and column
  //rr.rrules();
  //cr.crules();
  //ruleselect();
  //i--;
  //j--;
  if(a==0)
  {
      soduku[i-1][j-1]=data;
    return soduku[i-1][j-1];
  }
  else
   {
      user_input();
   }
  }
  </code></pre>
  
  <p>here as you see i tried calling the function in <code>catch</code> part but still the program terminated.Am I missing something basic?? Or is there any other solution/method/logic?
  Thanks! </p>