title: Catch error when QList index is out of bounds
body: <p>I am developing an application for Blackberry 10 and when I try to get the element 2 from a QStringList while this list contains only 1 element, my application crashs.</p>
  
  <p>I am using the following code to catch this type of error:</p>
  
  <pre><code>try {
      //a code that accesses QStringList with an index out of bounds
  }
  catch (Exception e) {
  
  }
  </code></pre>
  
  <p>But the Exception is not caught and the application always crashes.</p>
  
  <p>I tried catch (std:exception&amp; e) and catch(...) and didn't work too.</p>
  
  <p>How Can I use the try catch to catch this error?</p>