Objective-C Exceptions
Tilo Prütz
tilo.pruetz@infopark.de
Tue Mar 24 10:55:00 GMT 2009
Hi all,
given the following situation in Objective-C:
@try {
@try {
@raise @"first";
} @finally {
@raise @"finally";
}
} @catch (id e) {
printf("exception: %s\n", [e cString]);
}
Is there any way to either get the first exception within the
@finally-block or to get both exceptions within the @catch-block?
I have code where the @finally-block does some checks which may raise an
exception but I don't want to loose the original exception.
If there was no original exception but the checks fail I want the
exception they throw.
Thanks in advance
Tilo PrÃŒtz
More information about the Gcc-help
mailing list