Boost C++ Libraries: Ticket #4019: improve interprocess exception what() string https://svn.boost.org/trac10/ticket/4019 <p> Dear Ion, </p> <p> I am planning to use your message_queues in new project and like it. However, I find the exception messages not very useful. </p> <p> One problem may be that in interprocess/exception.hpp, the constructor </p> <blockquote> <p> interprocess_exception(error_code_t ec = other_error ) </p> </blockquote> <p> always sets the m_str value (which is returned by the what() member function) to the same phrase </p> <blockquote> <p> boost::interprocess_exception::library_error </p> </blockquote> <p> Better would be something that is appropriate for each type of error, for example: </p> <blockquote> <p> message_queue receive: buffer_size (1) &lt; max_msg_size (100) </p> </blockquote> <p> There are only a few places where exceptions are thrown in message_queue.hpp. Would it be possible to have for each of them more useful error messages for the what() strings? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4019 Trac 1.4.3 joseph.h.garvin@… Mon, 05 Apr 2010 22:26:33 GMT cc set https://svn.boost.org/trac10/ticket/4019#comment:1 https://svn.boost.org/trac10/ticket/4019#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">joseph.h.garvin@…</span> added </li> </ul> <p> In general, all the places where an interprocess_exception is thrown it would be helpful if there was a nice what() message. At least in 1.41 most of them seem to be empty. </p> Ticket Ion Gaztañaga Thu, 26 Aug 2010 10:21:12 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/4019#comment:2 https://svn.boost.org/trac10/ticket/4019#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">Boost-1.45.0</span> </li> </ul> <p> Some messages added for Boost 1.45 in release branch </p> Ticket