“正常的程序就被挂起” if ( ! infile ) { string errMsg( "unable to open file: " ); errMsg += fileName; throw errMsg; }