title: C++ runtime, display exception message
body: <p>I am using gcc on linux to compile C++ code.
  There are some exceptions which should not be handled and should close program.
  However, I would like to be able to display exception string:</p>
  
  <p>For example:</p>
  
  <p><code>throw std::runtime_error(" message");</code> does not display message, only type of error.
  I would like to display messages as well.
  Is there way to do it?</p>
  
  <p>it is a library, I really do not want to put catch statements and let library user decide.
  However, right now library user is fortran, which does not allow to handle exceptions.
  in principle, I can put handlers in wrapper code, but rather not to if there is a way around</p>