[Boost-bugs] [Boost C++ Libraries] #5386: Add option to get rid of "unknown" in exception diagnostic message

Subject: [Boost-bugs] [Boost C++ Libraries] #5386: Add option to get rid of "unknown" in exception diagnostic message
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-29 12:01:11


#5386: Add option to get rid of "unknown" in exception diagnostic message
---------------------------------------------------+------------------------
 Reporter: Pavel Machyniak <machyniak@…> | Owner: emildotchevski
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: exception
  Version: Boost 1.46.0 | Severity: Cosmetic
 Keywords: |
---------------------------------------------------+------------------------
 I think it would be nice to have option to exclude from exception
 diagnostic string messages like `"Throw in function (unknown)"` and only
 include those if the context is known.

 Reason: those messages usually do not add any information.

 For example:
 {{{
 Throw in function (unknown)
 Dynamic exception type: struct Exceptions::TestException
 std::exception::what: Unknown exception
 [struct Exceptions::ErrorCode_ *] = 123
 }}}

 Would become:
 {{{
 Dynamic exception type: struct Exceptions::TestException
 [struct Exceptions::ErrorCode_ *] = 123
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5386>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC