How to throw with some printout in C++
<p>If I just simply use <code>throw some_string;</code> then I get <code>terminate called after throwing an instance of 'std::string'</code>. How can I get some printout with the string value actually shown, for example, <code>terminate called after throwing 'This is wrong'</code>, or something similar?</p>

<p>Thank you.</p>
