gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allowing Applications to continue after exception...


From: Gregory Casamento
Subject: Re: Allowing Applications to continue after exception...
Date: Fri, 6 Feb 2009 00:33:47 -0500


What should "NSExceptionMask" be implemented as?  SHould it be a boolean that determines if we should allow the application to continue or not?

That is to say
* NSExceptionMask = YES  - report all exceptions, but continue anyway...
* NSExceptionMask = NO - current behavior

If so, I have a patch almost ready.  I'll submit it to the group prior to committing it since a change that is this important needs to have some amount of consensus.

GC

On Thu, Feb 5, 2009 at 2:34 AM, Richard Frith-Macdonald <address@hidden> wrote:

On 5 Feb 2009, at 07:23, Gregory John Casamento wrote:

Richard,

"True.  Such applications are fundamentally badly designed/buggy, but it generally doesn't win you any friends to say so."

That could be true, but I don't believe, however, that GNUstep should fail where Cocoa recovers.

I'm sure David's point was that, at the moment, GNUstep limits damage where Cocoa trashes things.  It's not at all true to say that GNUstep fails and Cocoa recovers ... more true to say that cocoa hides bugs and often gets away with it.

Anyway, we should implement the NSExceptionMask user default and the issue then becomes irrelevant as we can control which behavior we want for a particular application.



--
Gregory Casamento
Open Logic Corporation, Principal Consultant
## GNUstep Chief Maintainer
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell), (301)362-9640 (Home)


reply via email to

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