Boost logo

Boost :

From: Andreas Pokorny (andreas.pokorny_at_[hidden])
Date: 2007-10-04 05:36:32


2007/10/3, John Torjo <john.groups_at_[hidden]>:
> Tom Brinkman wrote:
> > For that matter, why is boost::exception() necessary.
> > Lets support the following syntax as well.
> >
> > try
> > {
> > throw file_err(name,mode,errno);
> >
> But what if we want to append more tags (2 sets of tags, lets say)?
> Also, what about specifying the type of exception I want?

And furthermore what if you do not know the name in that function.
The caller might know that name. With boost.exception the caller
might have sufficient information to deal with the error, or if not can
append more information to allow others to deal with the exception.

kind regards
Andreas


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk