Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-10-30 15:54:38


At 09:00 AM 10/30/2003, Peter Dimov wrote:

>Bronek Kozicki wrote:
>> Wynand Winterbach <wynand_at_[hidden]> wrote:
>>
>> why don't we just make *small* hierarchy of exceptions, all derived
>> from "socket_error" derived from "std::runtime_error" ?
>
>What does the user gain from this?

Users who care about the exact reason can catch the more detailed types,
uses who just care that the exception is sockets related can catch
socket_error?

--Beman


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