Exception handling help
Exception handling help
- Subject: Exception handling help
- From: Scott Mitchell <email@hidden>
- Date: Tue, 26 Jul 2005 11:25:08 -0600
Hi,
I am implementing some exception handling for some file saving code,
and I need ot be able to run on 10.2 and above. So reading the archives
and the Documentation I came to the conclusion that since I have to
support 10.2 that I need to use:
NS_DURING
// Do some stuff
NS_HANDLER
// exception occurred in Do some stuff
NS_ENDHANDLER
But is there anyway in the NS_Handler to throw an exception? I know on
10.3 and above I can use @throw but am not sure with the above macros
if it is possible. I need to catch an exception being thrown for one
Call and report the error but I don't want to continue with this code
path. I want to jump back to where I started from.
Thanks,
Scott Mitchell
Excelsior Software
_______________________________________________
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