>>785
こんなかんじ?

CMyFile::Write(std::ofstream& ofsFile, string strLine)
{
 ofsFile << "hogehoge" << endl;
 if(!ofsFile.fail())
 {
  throw "File Write Error";
 }
}

でもひょっとしてこれの同じものを、ofstreamそのものの例外でもってたりします?