What\'s the best way to throw an exception in objective-c/cocoa?
@throw([NSException exceptionWith…])
Xcode recognizes @throw statements as function exit points, like return statements. Using the @throw syntax avoids erroneous "Control may reach end of non-void function" warnings that you may get from [NSException raise:…].
Also, @throw can be used to throw objects that are not of class NSException.