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.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ |
* $Id: TechmodelPamelaRun.cpp,v 2.0 2004/09/21 20:50:54 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(); |