ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/md_code/StatWriter.cpp
(Generate patch)

Comparing trunk/mdtools/md_code/StatWriter.cpp (file contents):
Revision 11 by mmeineke, Tue Jul 9 18:40:59 2002 UTC vs.
Revision 162 by mmeineke, Thu Oct 31 21:20:49 2002 UTC

# Line 3 | Line 3
3   #include <fstream>
4  
5   #include "ReadWrite.hpp"
6 + #include "simError.h"
7  
8  
9   StatWriter::StatWriter( SimInfo* the_entry_plug ){
# Line 14 | Line 15 | StatWriter::StatWriter( SimInfo* the_entry_plug ){
15    
16    if( !outFile ){
17      
18 <    cerr << "Could not open \"" << outName << "\" for stat output.\n";
19 <    exit(8);
18 >    sprintf( painCave.errMsg,
19 >             "Could not open \"%s\" for stat output.\n",
20 >             outName);
21 >    painCave.isFatal = 1;
22 >    simError();
23    }
24    
25    //outFile.setf( ios::scientific );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines