[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [PATCH] Add undisplayable_exception
From: |
Greg Chicares |
Subject: |
Re: [lmi] [PATCH] Add undisplayable_exception |
Date: |
Sat, 11 Oct 2014 16:08:56 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 2014-10-11 14:26Z, Greg Chicares wrote:
> On 2014-10-09 19:00Z, Greg Chicares wrote:
>>
>> Just one small question. Is there a reason why this extraordinary
>> exception class should derive from std::runtime_error rather than
>> from std::exception?
>
> I assume that's okay, because [...]
Oh, wait--it really is better to derive from a <stdexcept> class,
because that makes the implementation trivial: you don't have to
declare a std::string member and supply a definition of what()
that uses that member. And std::runtime_error is a better fit
than std::logic_error. Should I change this accordingly?
- Re: [lmi] [PATCH] Add undisplayable_exception, (continued)
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/08
- Re: [lmi] [PATCH] Add undisplayable_exception, Vadim Zeitlin, 2014/10/08
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/09
- Re: [lmi] [PATCH] Add undisplayable_exception, Vadim Zeitlin, 2014/10/09
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/09
- Re: [lmi] [PATCH] Add undisplayable_exception, Vadim Zeitlin, 2014/10/09
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/09
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/09
- Re: [lmi] [PATCH] Add undisplayable_exception, Vadim Zeitlin, 2014/10/09
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/11
- Re: [lmi] [PATCH] Add undisplayable_exception,
Greg Chicares <=
- Re: [lmi] [PATCH] Add undisplayable_exception, Vadim Zeitlin, 2014/10/11
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/11
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/11
- Message not available
- Message not available
- Message not available
- [lmi] 31-character file-name limit, Greg Chicares, 2014/10/14
- Re: [lmi] 31-character file-name limit, Vadim Zeitlin, 2014/10/14
- Re: [lmi] 31-character file-name limit, Greg Chicares, 2014/10/14
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/10
- Re: [lmi] [PATCH] Add undisplayable_exception, Vadim Zeitlin, 2014/10/11
- Re: [lmi] [PATCH] Add undisplayable_exception, Greg Chicares, 2014/10/12
- Re: [lmi] Autosave (was: [PATCH] Add undisplayable_exception), Vadim Zeitlin, 2014/10/12