void parseFile(const char* theFileName) {
try{
- cout<<"'"<<theFileName<<"'...\n";
+ MESSAGE("'"<<theFileName<<"'...");
auto_ptr<VISU_Convertor> aCon(CreateConvertor(theFileName));
//aCon->GetSize();
//return;
}
}
OK:
- cout<<"OK"<<endl;
- }catch(std::runtime_error& exc){
- MESSAGE("Follow exception was accured in file:"<<theFileName<<"\n"<<exc.what());
+ MESSAGE("OK");
+ }catch(std::exception& exc){
+ MESSAGE("Follow exception was occured in file:"<<theFileName<<"\n"<<exc.what());
}catch(...){
- MESSAGE("Unknown exception was accured in VISU_Convertor_impl in file:"<<theFileName);
+ MESSAGE("Unknown exception was occured in VISU_Convertor_impl in file:"<<theFileName);
}
}
}
return 0;
}
- }catch(std::runtime_error& exc){
- cout<<"Follow exception was accured :\n"<<exc.what()<<endl;
+ }catch(std::exception& exc){
+ MESSAGE("Follow exception was occured :\n"<<exc.what());
}catch(...){
- cout<<"Unknown exception was accured in VISU_Convertor_impl"<<endl;
+ MESSAGE("Unknown exception was occured in VISU_Convertor_impl");
}
return 1;
}