[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: objc native exceptions
From: |
Graham J Lee |
Subject: |
Re: objc native exceptions |
Date: |
Fri, 27 Jun 2008 22:32:23 +0100 |
Hi,
On 27 Jun 2008, at 18:14, Richard Frith-Macdonald wrote:
That's really bad news when using distributed objects ... you might
make a call to another application, an exception is raised in that
application, passed back and re-raised in your application which
then aborts your app!
Isn't that just a recommendation to catch as close to the raise as
possible, and to document all exceptions with an interface? Or just
to not use exceptions :-) especially as the NSError-out-parameter
pattern is more prevalent, and seems to be the pattern Apple have
settled on.
Thanks,
Graham.
Re: objc native exceptions, David Chisnall, 2008/06/30