• 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/error handling question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exception/error handling question


  • Subject: Re: exception/error handling question
  • From: gnat <email@hidden>
  • Date: Thu, 8 Jul 2004 23:56:32 -0400

On Jul 8, 2004, at 23:38, Greg Hulands wrote:

What you would need to do is use an NSArchiver to archive the dictionary.

Actually in this case, the answer was to not store the objects (which I didn't mean to do in the first place). What i'm really looking for is to find more info about method failures regardless of a specific object (i.e. like errno in C)

On Jul 8, 2004, at 23:48, Bob Ippolito wrote:

the localException you get in your NS_HANDLER is an instance of NSException:
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSException.html

Hopefully it's obvious from there how to get useful info out of one.

While the use of NSException is fairly obvious, as I mentioned an exception is not being thrown in this case.

Thanks,
-dave
_______________________________________________
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.


  • Follow-Ups:
    • Re: exception/error handling question
      • From: Nick Zitzmann <email@hidden>
References: 
 >exception/error handling question (From: gnat <email@hidden>)

  • Prev by Date: Re: exception/error handling question
  • Next by Date: Re: exception/error handling question
  • Previous by thread: Re: exception/error handling question
  • Next by thread: Re: exception/error handling question
  • Index(es):
    • Date
    • Thread