Boost logo

Boost Users :

Subject: Re: [Boost-users] Segmentation fault when throwing exception?
From: Igor R (boost.lists_at_[hidden])
Date: 2011-05-17 08:53:09


> BOOST_THROW_EXCEPTION. The class derives from std::runtime_error.
>
> The thing is that my program crashes and doesn't catch the exception
> if I use this macro,
> but if I use a language throw it behaves correctly.

To see what BOOST_THROW_EXCEPTION does exactly, read the following:
http://www.boost.org/doc/libs/1_46_1/libs/exception/doc/BOOST_THROW_EXCEPTION.html
http://www.boost.org/doc/libs/1_46_1/libs/exception/doc/throw_exception.html


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net