title: Program doesn't stop after exception
body: <p>I am using eclipse in Ubuntu 12.04. I use some exceptions in my program and when they are caught it gives me cout correctly. But the program continues to the end. Is there a way to stop the program after exception?</p>
  
  <p>This is the code I am using:</p>
  
  <pre><code>try{
          if(BLER==-1) throw 12;
      }catch(int exception){
          cout &lt;&lt; "ERROR: BLER value is invalid for x= " &lt;&lt; x &lt;&lt; ", BLER_input= " &lt;&lt; BLER_input &lt;&lt; ", m= "&lt;&lt; m &lt;&lt; endl;
      }
  </code></pre>