I read about exception handling in Apple Developer Docs , but I was wondering why the exceptions to standard C operations are not caught?
eg. The code below still crashes the application without intercepting the div to zero. Will the try / @ catch block only remove Obj-C code?
@try { int i = 10 / 0; } @catch (NSException * e) { NSLog(@"Div by zero!"); } @finally {
c objective-c exception exception-handling
Jamie chapman
source share