title: try- catch. Handling multiple exceptions the same way (or with a fall through)
body: <p>There has already been a question posted <a href="https://stackoverflow.com/questions/791390/more-elegant-exception-handling-than-multiple-catch-blocks">here</a> which is very similar. Mine is extending that question a bit more. Say you want to catch multiple types of exception but want to handle it the same way, is there a way to do something like switch case ?</p>
  
  <pre><code>switch (case)
  {
    case 1:
    case 2:
  
    DoSomething();
    break;
    case 3:
    DoSomethingElse()
    break;
  
  }
  </code></pre>
  
  <p>Is it possible to handle few exceptions the same way . Something like</p>
  
  <pre><code>try
  {
  }
  catch (CustomException ce)
  catch (AnotherCustomException ce)
  {
    //basically do the same thing for these 2 kinds of exception
    LogException();
  }
  catch (SomeOtherException ex)
  {
   //Do Something else
  }
  </code></pre>