Changeset 565 for library/bdm/base/user_info.cpp
- Timestamp:
- 08/19/09 16:54:24 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/user_info.cpp
r540 r565 33 33 setAutoConvert ( true ); 34 34 } catch ( FileIOException f ) { 35 it_error ( "UI error: file " + file_name + " not found." ); 35 string msg = "UI error: file "; 36 msg += file_name; 37 msg += " not found."; 38 bdm_error ( msg ); 36 39 } catch ( ParseException& P ) { 37 40 stringstream msg; 38 41 msg << "UI error: parsing error """ << P.getError() << """ in file " << file_name << " on line " << P.getLine() << "."; 39 it_error ( msg.str() );42 bdm_error ( msg.str() ); 40 43 } 41 44 } … … 46 49 writeFile ( file_name.c_str() ); 47 50 } catch ( FileIOException f ) { 48 it_error ( "UI error: file " + file_name + " is inacessible." ); 51 string msg = "UI error: file "; 52 msg += file_name; 53 msg += " is inacessible."; 54 bdm_error ( msg ); 49 55 } 50 56 } … … 94 100 msg << "There is not any registered class yet!" << endl; 95 101 96 it_error ( msg.str() );102 bdm_error ( msg.str() ); 97 103 } 98 104