Re: Are there macros for exception-based error checking?
Re: Are there macros for exception-based error checking?
- Subject: Re: Are there macros for exception-based error checking?
- From: "Sean McBride" <email@hidden>
- Date: Wed, 4 May 2005 14:23:21 -0400
- Organization: Rogue Research
On 2005-05-03 16:24, Shawn Erickson said:
>Note that since Mac OS X 10.3 you have the ability use things like
>the following in Objective-C (if you enable objective-c exceptions in
>the compiler settings)...
>
>@try {
> ...
> @throw ...;
> ...
> @synchronize(..) { << basically a recursive mutex
> ...
> @throw ...;
> ...
>
> return ...;
> }
> ...
>} @catch(...) {
>} @catch(...) {
>} @finally {
>}
Note also that this only works with gcc and not CodeWarrior.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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