1
实施例:try块内发生了什么?
@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]);
}
如果1)抛出异常,是立即取消像在一个函数在一个循环中返回或断裂块?或者将2)和3)无论发生在1)中都发生了什么?