[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -gui Uncaught Exception Handler (Was: Getting UTF-8 value of string
From: |
David Ayers |
Subject: |
Re: -gui Uncaught Exception Handler (Was: Getting UTF-8 value of string occasionally fails) |
Date: |
Thu, 14 Oct 2004 17:44:45 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 |
David Ayers wrote:
> stefan@agentfarms.net wrote:
>
>
>>What about following redefinition of default exception handler dialog:
>>
>>[Abort] - same as now
>>[Ignore] - log an error and return to the main runloop of the application
>
>
> This can't be done in the uncaught exception handler. -gui
> (NSApplication) would have to actually handle exceptions to be able to
> re-run the runloop. (Well unless you re-run the +currentRunloop from
> within the uncaught exception handler, but that sounds even scarier :-) )
Well actually, I take that back... it's not scarier, in fact it seems to
be more or less what you are looking for... I'll have to ponder a bit
about it.
Cheers,
David
Re: -gui Uncaught Exception Handler (Was: Getting UTF-8 value of string occasionally fails), Matt Rice, 2004/10/13