Re: [Boost-bugs] [Boost C++ Libraries] #9796: std::system_error cannot be catched after is rethrown with boost::rethrow_exception()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9796: std::system_error cannot be catched after is rethrown with boost::rethrow_exception()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-21 07:35:41


#9796: std::system_error cannot be catched after is rethrown with
boost::rethrow_exception()
-------------------------------+----------------------------
  Reporter: anonymous | Owner: emildotchevski
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: exception
   Version: Boost 1.54.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+----------------------------

Comment (by anonymous):

 As I wrote this throw is from a std::library function (like for example
 std::thread().detach();, see [trac does not allow me to add links, so find
 it on google by yourself]), so throw_exception cannot be used.

 Besides if you replace std::system_error with for example
 std::logic_error, the code works - the logic_error is properly catched.
 This means that '''this bug is not invalid'''. Please reopen it, and fix
 it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9796#comment:2>
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:15 UTC