I have been reading about exception handling on the Apple developer docs, but I was wondering why exceptions by standard C operations are not caught?
E.g. the code below still crashes the application, without catching the div by zero. Will the @try/@catch block only catch Obj-C code?
@try {
int i = 10 / 0;
}
@catch (NSException * e) {
NSLog(@"Div by zero!");
}
@finally {
// Nothing...
}