主动引起一个崩溃
2014-01-17 13:17
351 查看
1
1
1
1
1
1
1
1
1
1
- (id)initWithView:(UIView *)view { // Let's check if the view is nil (this is a common error when using the windw initializer above) view = nil; if (!view) { //主动引起一个崩溃~~~~ [NSException raise:@"MBProgressHUDViewIsNillException" format:@"The view used in the MBProgressHUD initializer is nil."]; } return [self initWithFrame:view.bounds]; }
1
1
1
1
1
1
1
1
1
相关文章推荐
- 水题第三记 一个小错误引起的崩溃
- 一个因全局变量引起的DLL崩溃引发的血案
- 关于手动添加一个viewController引起的崩溃
- 【翻译自mos文章】job 不能自己主动执行--这是另外一个mos文章,本文章有13个解决方法
- Android中进入下一个Activity时在上一个Activity主动调用onDestroy()方法不会真正将上一个Activity从栈中删除
- 一个Bug 差点让服务器的文件系统崩溃
- 一个由进程内存布局异常引起的问题
- C++ new一个数组时,指针移动程序崩溃问题
- TestNG中主动Skip一个Test
- 一个因为顺序问题引起的错误!
- 一个正则表达式引起的杂谈
- 【Android】如何让一个控件能主动获取到焦点
- 一个由进程内存布局异常引起的问题
- 由一次程序崩溃引起的对new表达式的再次学习
- 从一个时隐时现的工具栏说起(由一个工具栏引起的思(血)考(案))
- 无比奇怪的问题,Runtime报错,程序仍可运行(有可能是线程崩溃,但主程序不崩溃,线程崩溃可能是因为锁使用不当引起的)
- 使用fsck命令修复linux文件系统错误【避开引起系统崩溃,启动不了的"-a"选项】
- case语句没有加break引起系统崩溃
- 由关于malloc的一个争论引起的探究 (转)
- 指针引起的崩溃分析