title: How can I continue executing code after a try/catch block catches an exception?
body: <pre><code>try
  {
  someTask();
  someTask2();
  someTask3();
  someTask4();
  someTask5();
  }
  catch (Exception e)
  {
  // log the error
  }
  
  </code></pre>
  
  <p>if one of my task fails, I want a log of what happened, but I want to continue running the rest of the tasks. I know I can surround each task method with its own try/catch, but is there a cleaner way so I don't have so many try/catch blocks?</p>