Is there anything wrong with throwing exceptions in the try block?
<p>Is it a good design practice to code a <code>try-catch</code> block as follows? That is, use a <code>throw</code> in the try block and then catch it in the catch block.</p>

<pre><code>try
{
  if (someCondition){

      throw new Exception("Go the the associated catch block!");

     }
}

catch(Exception ex)
{
      logError("I was thrown in the try block above");
}
</code></pre>
