title: ADO Error exception handling?
body: <p>I just switched from using the BDE to ADO by replacing the Tables and Queries to its equivalent in ADO components.</p>
  
  <p>I'm always execute the query inside try...catch like this:</p>
  
  <pre><code>//Fdm is Data Module
  //TEndOfDay is TTable
  //QEndOfDay is TQuery
  
  Screen-&gt;Cursor = crSQLWait;
  Fdm-&gt;QEndOfDay-&gt;SQL-&gt;Add("SELECT * FROM TEndOfDay");
  try{
    Fdm-&gt;QEndOfDay-&gt;ExecSQL();
    Fdm-&gt;QEndOfDay-&gt;Open();
    Screen-&gt;Cursor = crDefault;
  }
  catch (EDBEngineError &amp;DBEngineError){
    strError = DBEngineError.Message;
    Screen-&gt;Cursor = crDefault;
  }
  catch (EDatabaseError &amp;DatabaseError){
    strError = DatabaseError.Message;
    Screen-&gt;Cursor = crDefault;
  }
  catch(...){
    strError = "Error";
    Screen-&gt;Cursor = crDefault;
  }          
  </code></pre>
  
  <p>Since I switched to ADO, does those exceptions (DBEngineError, DatabaseError) are applicable?</p>
  
  <p>I have been edited my post to include Delphi folks, they are responds quickly. No matter if the answer in Delphi code.</p>