title: c++ How to set more strict exception(error) rules?
body: <p>This code does not cause an exception:</p>
  
  <pre><code>int *a=new int[100];  
  try{
    a[101]=1;
  }
  catch(...){
  //never called
  }
  </code></pre>
  
  <p>However, if the index is greater (a[11111111]=1), the error occurs.</p>
  
  <p>Is it possible establish more stringent rules for handling errors? (MSDN VC++)</p>
  
  <p>Thank you!</p>