1 | #import <Foundation/Foundation.h> |
---|---|
2 | |
3 | int main(int argc, char const *argv[]) { |
4 | @throw [[NSException alloc] initWithName:@"ThrownException" |
5 | reason:@"SomeReason" |
6 | userInfo:nil]; |
7 | return 0; |
8 | } |
9 |
1 | #import <Foundation/Foundation.h> |
---|---|
2 | |
3 | int main(int argc, char const *argv[]) { |
4 | @throw [[NSException alloc] initWithName:@"ThrownException" |
5 | reason:@"SomeReason" |
6 | userInfo:nil]; |
7 | return 0; |
8 | } |
9 |