discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep error handling


From: Richard Frith-Macdonald
Subject: Re: GNUstep error handling
Date: Wed, 14 Mar 2018 09:08:53 +0000


> On 13 Mar 2018, at 23:45, amon <amon@vnl.com> wrote:
> 
>> NS_HANDLER is the *original* exception handler, which predates
>> @catch (it was the only exception handling mechanism for many
>> years).
>> If you are only using platforms with modern compilers, you don't
>> need it.
> 
> Thanks, that is good to know. It unfortunately still shows up
> in a lot of GNUstep documentation and the various documents
> on the web are also a mixed bag.

Sure, because it's the standard/traditional exception handling interface that's 
always been present in OpenStep/GNUstep and is available across all platforms.
If you want maximally portable code, you write it using NS_HANDLER, but as long 
as you are sticking to newer environments you don't need it.




reply via email to

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