title: c++ exception naked throw
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1481612/what-is-the-difference-between-throw-and-throw-with-arg-of-caught-exception">What is the difference between throw and throw with arg of caught exception?</a><br>
    <a href="https://stackoverflow.com/questions/5766006/does-catch-work-on-throw-with-no-object">Does catch (&hellip;) work on throw; with no object?</a>  </p>
  </blockquote>
  
  
  
  <p>This will crash:  </p>
  
  <pre><code>try
  {
      if(1)
          throw;
  }
  catch(...)
  {
      printf("hi");
  }
  </code></pre>
  
  <p>I thought I could do that but I guess not. What is the right way to throw when you don't need any information?</p>