• 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: Exception handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception handling


  • Subject: Re: Exception handling
  • From: "Michael B. Johnson" <email@hidden>
  • Date: Tue, 28 Oct 2003 22:01:18 -0800

check your DVDs in the Cocoa update class.

I believe it's

@try {

}

@catch (NSException*) {
}

although when I tried it the other day the compiler complained, and said I need to turn on something like -objc-exceptions, but in X-Code, I couldn't figure out where to do that... :-(

so I kept them old-style.


On Oct 28, 2003, at 8:21 PM, Martin-Gilles Lavoie wrote:

For the life of me, I can't remember the syntax given for the new exception handling in Panther.

It's something in the form

	@try

	@catch

	@foobar

All documentation on Apple's site still point to the old (deprecated) NSDuring thing.

Anybody remembers?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=
Martin-Gilles Lavoie
email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


--> Michael B. Johnson, PhD
--> http://homepage.mac.com/drwave (personal)
--> http://xenia.media.mit.edu/~wave (alum)
--> Film On Line Lead
--> Pixar Animation Studios
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Exception handling (From: Martin-Gilles Lavoie <email@hidden>)

  • Prev by Date: Re: X Code for Download
  • Next by Date: Re: Exception handling
  • Previous by thread: Exception handling
  • Next by thread: Re: Exception handling
  • Index(es):
    • Date
    • Thread