Re: Exception handling
Re: Exception handling
- Subject: Re: Exception handling
- From: Jens Alfke <email@hidden>
- Date: Thu, 14 Jun 2018 12:45:53 -0700
> On Jun 14, 2018, at 11:33 AM, Casey McDermott <email@hidden> wrote:
>
> However, simply replacing the C++ throw with a Cocoa exception via
> [NSException raise : errString format : errString]; seems to work great.
Yeah, I think that’s because the exception type being thrown is now
NSException* instead of whatever C++ type you were throwing, and the backstop
exception handlers in Cocoa only catch NSException*.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden