title: Where to implement try catch blocks?
body: <p>I am always struggling where to place a try catch block. For example, I have a database class with a method that accepts two parameters. FindObject(string where, string order). This method executes a sql query with the specified where and order strings.</p>
  
  <p>In a class I have a property called IsUsed, this property looks like this:</p>
  
  <pre><code>public bool IsUsed 
  {  
   get
   {   
    ClassA a = new ClassA();   
    Collection&lt;ClassA&gt; myCollection = a.FindObject("Id = 1","");
  
    if(..) // etc  
   } 
  }
  </code></pre>
  
  <p>It doesn't matter if this approach is clever or not, I only want to know where to place the try catch if the execution of the sql query goes wrong.</p>
  
  <p>Where should I place the try catch so I can notify the user something went wrong?</p>
  
  <ol>
  <li>In the FindObject method?</li>
  <li>In the IsUsed property?</li>
  <li>Where I call the IsUsed property?</li>
  <li>Somewhere else? But where</li>
  </ol>