История изменений
Исправление monk, (текущая версия) :
В C++ никто на Close / Shutdown / whatever исключения обычно не кидает.
http://www.cplusplus.com/reference/fstream/fstream/close/ :
Any exception thrown by an internal operation is caught by the function and rethrown after closing the file. It throws an exception of member type failure if the function fails (setting the failbit state flag) and member exceptions was set to throw for that state.
Исходная версия monk, :
В C++ никто на Close / Shutdown / whatever исключения обычно не кидает.
http://www.cplusplus.com/reference/fstream/fstream/close/ :
Any exception thrown by an internal operation is caught by the function and rethrown after closing the file.
It throws an exception of member type failure if the function fails (setting the failbit state flag) and member exceptions was set to throw for that state.