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

Re: longjmp exit


  • Subject: Re: longjmp exit
  • From: Ian was here <email@hidden>
  • Date: Sat, 30 Jul 2005 08:50:27 -0700 (PDT)

If you just want to force your application to
terminate, you could use [NSApp terminate:self];

For exception handling, you could include this in a
try-catch block.




--- Roland Silver <email@hidden> wrote:

> I'm adapting an old C-program to Cocoa. My program
> uses the longjmp
> mechanism to force an exit in case of a serious
> error. Is there a
> different, more appropriate, mechanism in Cocoa?
>
> --Roland Silver <email@hidden>
>
>  _______________________________________________
> 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
>




____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

 _______________________________________________
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

References: 
 >longjmp exit (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: longjmp exit
  • Next by Date: Re: Newbie: Getting an NSWindow and setting its delegate
  • Previous by thread: Re: longjmp exit
  • Next by thread: Re: longjmp exit
  • Index(es):
    • Date
    • Thread