try / finally
try / finally
- Subject: try / finally
- From: Simon Bovet <email@hidden>
- Date: Wed, 21 May 2003 00:56:49 +0200
Is there any way in ObjC/ObjC++ to write a termination block, such as
the try { ... } finally { ... }, or do I have to rewrite twice the
cleaning up lines in
NS_DURING
...
// clean up
NS_HANDLER
...
// clean up
[localException raise];
NS_ENDHANDLER
I guess so. I'm just wondering...
_______________________________________________
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.