lmi
[Top][All Lists]
Advanced

[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 23:52:10 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 2014-10-11 16:38Z, Vadim Zeitlin wrote:
> On Sat, 11 Oct 2014 16:08:56 +0000 Greg Chicares <address@hidden> wrote:
> 
> GC> On 2014-10-11 14:26Z, Greg Chicares wrote:
> GC> > On 2014-10-09 19:00Z, Greg Chicares wrote:
[...]
>  I was a bit surprised by you quoting your own message here and not my
> reply, could it be that you had somehow missed it? Just in case you did,
> please see http://lists.nongnu.org/archive/html/lmi/2014-10/msg00039.html

Yes, I did indeed miss it. I don't have it locally. I checked my
ISP's "trash" and "spam" buckets, and it wasn't filtered out at
that level, either. But obviously nongnu.org got it.

And that's scary, because I proceeded on the assumption that you
didn't think my message needed any comment, as though it were
entirely obvious. So I went ahead and modeled the new exception
on this:

  class hobsons_choice_exception
      :public std::exception
  {
  };

Then, only because of the fortunate accident that I read this:
  http://lists.nongnu.org/archive/html/lmi/2014-10/msg00041.html
and thought this technique...

    catch(...)
        {
        try
            {
            report_exception();
            }
        catch(...) // [catches *everything*

...should have a unit test, I set out to write a test, and found
it difficult to implement wx_test_exception when its immediate
parent is std::exception. So I'll have to fix that now.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]