title: Catch multiple exceptions at once?
body: <p>It is discouraged to simply catch <code>System.Exception</code>. Instead, only the &quot;known&quot; exceptions should be caught.</p>
  <p>Now, this sometimes leads to unnecessary repetitive code, for example:</p>
  <pre><code>try
  {
      WebId = new Guid(queryString[&quot;web&quot;]);
  }
  catch (FormatException)
  {
      WebId = Guid.Empty;
  }
  catch (OverflowException)
  {
      WebId = Guid.Empty;
  }
  </code></pre>
  <p>I wonder: Is there a way to catch both exceptions and only call the <code>WebId = Guid.Empty</code> call once?</p>
  <p>The given example is rather simple, as it's only a <a href="http://en.wikipedia.org/wiki/Globally_unique_identifier" rel="noreferrer"><code>GUID</code></a>. But imagine code where you modify an object multiple times, and if one of the manipulations fails expectedly, you want to &quot;reset&quot; the <code>object</code>. However, if there is an unexpected exception, I still want to throw that higher.</p>