title: What is the difference between throw e and throw new Exception(e)?
body: <p>Consider:</p>
  
  <pre><code>try  {
      // Some code here
  } catch (IOException e) {
      throw e;
  } catch (Exception e) {
      throw e;
  }
  </code></pre>
  
  <p>What is the difference between <code>throw e</code> and <code>throw new Exception(e)</code>?</p>
  
  <pre><code>try  {
     // Some code here
  } catch (IOException e) {
     throw new IOException(e);
  } catch (Exception e) {
     throw new Exception(e);
  }
  </code></pre>