[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allowing Applications to continue after exception...
From: |
Richard Frith-Macdonald |
Subject: |
Re: Allowing Applications to continue after exception... |
Date: |
Wed, 4 Feb 2009 19:14:02 +0000 |
On 4 Feb 2009, at 18:53, Gregory Casamento wrote:
In some cases on Mac OS X I have observed that exceptions which are
not fatal on Mac sometimes ARE fatal on GNUstep. I believe we
should change the logic which deals with exceptions to add a
"continue" button and only show the panel when the application is
running in debug mode. This would allow the application to
continue when recovery is possible.
Does anyone have any thoughts on this?
I think the panel is shown when there is an UNCAUGHT exception.
If the exception has not been caught, there is nowhere to return to
and no way to continue ... so adding a continue button and returning
from the uncaught exception handler would not allow the application to
continue.
If you want an exception to not be fatal, you have to write code to
handle it and continue.
Sometimes you might think you can continue running, but know that the
app probably won't be doing what the user expects. In this situation
it makes sense to display an alert panel explaining the nature of the
problem, and allow the user to choose between continuing and cleanly
terminating. This however is a very different case from the panel
shown when the uncaught exception handler is called.
- Allowing Applications to continue after exception..., Gregory Casamento, 2009/02/04
- Re: Allowing Applications to continue after exception...,
Richard Frith-Macdonald <=
- Re: Allowing Applications to continue after exception..., David Chisnall, 2009/02/04
- Re: Allowing Applications to continue after exception..., Gregory Casamento, 2009/02/04
- Re: Allowing Applications to continue after exception..., Adam Fedor, 2009/02/04
- Re: Allowing Applications to continue after exception..., Gregory Casamento, 2009/02/04
- Re: Allowing Applications to continue after exception..., David Ayers, 2009/02/05
- Re: Allowing Applications to continue after exception..., Gregory John Casamento, 2009/02/05
- Re: Allowing Applications to continue after exception..., Richard Frith-Macdonald, 2009/02/05
- Re: Allowing Applications to continue after exception..., Gregory John Casamento, 2009/02/05