Boost logo

Boost Users :

From: Jeff Holle (jeff.holle_at_[hidden])
Date: 2004-08-23 15:00:39


My two cents of the referenced html page.

Not placing attributes like string into an exception class only makes
sense if the exception being thrown has
something to do with a memory starvation situation.

For a lot of exception types that I can think of this is not the case.

As an example of this std::runtime_error often has a string attribute
and this is perfectly fine.

Jonathan Turkanis wrote:

>"Stephen torri" <storri_at_[hidden]> wrote in message
>news:1093230456.8377.44.camel_at_base.torri.org...
>
>
>>Are there any guidelines on where and when to use exceptions?
>>
>>
>
>See http://www.boost.org/more/error_handling.html
>
>Jonathan
>
>
>
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>


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