Re: longjmp exit
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>) |