您的位置:首页 > 其它

2.6 基于异常的设计

2013-01-31 15:10 148 查看
“正常的程序就被挂起

if ( ! infile ) {

string errMsg( "unable to open file: " );

errMsg += fileName;

throw errMsg;

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐