What happens inside the try block?
- by dontWatchMyProfile
Example:
@try {
// 1) do bad stuff that can throw an exception...
// 2) do some more stuff
// 3) ...and more...
}
@catch (NSException *e) {
NSLog(@"Error: %@: %@", [e name], [e reason]);
}
If 1) throws an exception, is the block immediately canceled like a return in a function or a break in a loop? Or will 2) and 3) be…