Anonymous user
Exceptions: Difference between revisions
→Catching exceptions
Line 726:
@catch (NSException *exc) {
//Catch any NSException or subclass
NSLog(@"caught exception named %@, with reason: %@", [exc name], [exc reason]);
}
@catch (id exc) {
|