title: How can I add a message to an exception without losing any information in C#?
body: <p>I have the following code:</p>
  
  <pre><code>catch(Exception ex)
  {
      throw new FatalException("An error occurred while trying to load the XSLT file.", ex);
  }
  </code></pre>
  
  <p>This unfortunately just swallows up the Exception.  I can fix this by doing the following:</p>
  
  <pre><code>catch(Exception ex)
  {
      throw;
  }
  </code></pre>
  
  <p>But I would still like to include the custom message for help with event logging.</p>
  
  <p>How do I add this message to the exception without losing any information?  (stack trace/debug symbols, etc.)</p>