1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $ |
3 |
* $Id: TechmodelPamelaRun.cpp,v 1.2 2004/09/21 20:24:33 kusanagi Exp $ |
* $Id: TechmodelPamelaRun.cpp,v 3.0 2005/03/04 15:54:11 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the TechmodelPamelaRun class. |
* Implementation of the TechmodelPamelaRun class. |
29 |
InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004 |
InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004 |
30 |
if (!*InputFile){ |
if (!*InputFile){ |
31 |
std::stringstream oss; |
std::stringstream oss; |
32 |
oss.flush(); |
oss.str(""); |
33 |
oss << "Cannot open file " << fileName; |
oss << "Cannot open file " << fileName; |
34 |
logger->error(oss.str().c_str()); |
logger->error(oss.str().c_str()); |
35 |
throw std::exception(); |
throw std::exception(); |