Throwing an exception in iOS

February 26, 2013 in iOS Snippets


[NSException raise:@"Invalid parameter" format:@"Object %@ is incorrect", obj];