title: C++ catching all exceptions
body: <p>Is there a c++ equivalent of Java's</p>
  
  <pre><code>try {
      ...
  }
  catch (Throwable t) {
      ...
  }
  </code></pre>
  
  <p>I am trying to debug Java/jni code that calls native windows functions and the virtual machine keeps crashing.  The native code appears fine in unit testing and only seems to crash when called through jni.  A generic exception catching mechanism would prove extremely useful.</p>