title: boost::exception - how to print details?
body: <p>I have such codein my program:</p>
  
  <pre><code>catch (boost::exception&amp; ex) {
      // error handling
  }
  </code></pre>
  
  <p>How can I print details? Error message, stacktrace etc.?</p>