Re: Simple Exception Handling
Re: Simple Exception Handling
- Subject: Re: Simple Exception Handling
- From: Jonathan Feinberg <email@hidden>
- Date: Fri, 19 Apr 2002 11:31:30 -0400
On 4/18/02 Frederick C. Lee <email@hidden> wrote:
>
NS_DURING {
>
// Process Data Here.
>
}
Those curly braces do not belong there. I do not know if this is the cause of your troubles, but you should remove them.
>
NS_HANDLER {
>
NSRunAlertPanel(@"Error Panel", @"%@", @"OK", nil, nil,
>
localException);
>
}
Same for these.
>
NS_ENDHANDLER;
Remove that semicolon as well.
--
Jonathan Feinberg email@hidden Inwood, NY, NY
http://MrFeinberg.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.