title: Catch specific exception vs general exception
body: <p>One of my co-worker asked what exception would I get if you execute a query that has a wrong table name. I was not able to answer since I always catch exceptions like the code below, </p>
  
  <pre><code>try
  {
      ExecuteQuery();
  }
  catch(Exception ex)
  {
      //show an error message
  }
  </code></pre>
  
  <p>so I do not know what kind of error will be raised until it actually happens. But I like to code in this way because I can simply copy and paste that catch block at anywhere that needs to be try and catch blocked.</p>
  
  <p>My question is that is it important to know what exceptions will be thrown and try to make as many specific catch exceptions as possible?</p>