• 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: Re: try/catch/throw/finally example?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: try/catch/throw/finally example?


  • Subject: Re: Re: try/catch/throw/finally example?
  • From: "Keith Ray" <email@hidden>
  • Date: Fri, 25 Aug 2006 16:10:34 -0700

I noticed that even though the compiler doesn't complain about about a
missing catch block, if it *is* missing, the finally block is never
executed.


@try { [stringOne appendString:stringTwo]; } @finally { NSLog(@"This always happens."); }



--

C. Keith Ray
<http://homepage.mac.com/keithray/blog/index.html>
<http://homepage.mac.com/keithray/xpminifaq.html>
<http://homepage.mac.com/keithray/resume2.html>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: try/catch/throw/finally example?
      • From: Chris Hanson <email@hidden>
    • Re: Re: Re: try/catch/throw/finally example?
      • From: "Shawn Erickson" <email@hidden>
References: 
 >try/catch/throw/finally example? (From: Roland Silver <email@hidden>)
 >Re: try/catch/throw/finally example? (From: Todd Yandell <email@hidden>)

  • Prev by Date: Re: Core Data, NSImageView, and Thumbnailing
  • Next by Date: Re: Re: Re: try/catch/throw/finally example?
  • Previous by thread: Re: try/catch/throw/finally example?
  • Next by thread: Re: Re: Re: try/catch/throw/finally example?
  • Index(es):
    • Date
    • Thread