Last active
February 10, 2019 20:38
-
-
Save quentinfasquel/722ba069ac557c4e36631a700da124e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MyFailingObject.m | |
@implementation MyFailingObject | |
- (void)throwException { | |
@throw [NSException exceptionWithName:NSGenericException | |
reason:@"An exception on purpose" | |
userInfo:nil]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment