title: Catch Zend PDO Exception
body: <p>I'm wondering if I can put a try catch about <code>$application-&gt;bootstrap()-&gt;run();</code><br>
  that will catch <code>pdo exceptions</code></p>
  
  <p>This works, but it catches every exception, which I do not want.</p>
  
  <pre><code>try {
      $application-&gt;bootstrap()-&gt;run();
  } catch (Exception $e) {
      print_r($e);
  }
  </code></pre>
  
  <p>I had a nasty incident of pdo exception being throw and displaying the password from application.ini!</p>
  
  <p>Worthy of note, I have tried PDOException, it doesnt get catched.</p>
  
  <p>My DB is set up in bootstrap run() with </p>
  
  <pre><code>    try {
          $db = $this-&gt;getPluginResource('db')-&gt;getDbAdapter();
          Zend_Registry::set('dbAdapter', $db);
      } catch (Exception $e) {
          echo 1;exit;
      }
  </code></pre>
  
  <p>Note that if I put in the wrong password locally and run the app, I do not see 1, I see a blank page even with error reporting on.</p>