• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple Exception Handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Simple Exception Handling (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: Rect of NSView to a NSImage
  • Next by Date: Re: Rect of NSView to a NSImage
  • Previous by thread: Re: Simple Exception Handling
  • Next by thread: Help dynamically loading Java that requires a framework
  • Index(es):
    • Date
    • Thread