diff options
Diffstat (limited to 'indra/newview/llappviewermacosx-objc.mm')
-rw-r--r-- | indra/newview/llappviewermacosx-objc.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewermacosx-objc.mm b/indra/newview/llappviewermacosx-objc.mm index 81ab4e0feb..9b6bfe621b 100644 --- a/indra/newview/llappviewermacosx-objc.mm +++ b/indra/newview/llappviewermacosx-objc.mm @@ -71,3 +71,9 @@ void launchApplication(const std::string* app_name, const std::vector<std::strin [pool release]; return; } + +void force_ns_sxeption() +{ + NSException *exception = [NSException exceptionWithName:@"Forced NSException" reason:nullptr userInfo:nullptr]; + @throw exception; +} |