Changeset 2659 in Sophya for trunk/SophyaProg
- Timestamp:
- Apr 7, 2005, 11:40:36 AM (20 years ago)
- Location:
- trunk/SophyaProg/Tests
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/ttimestamp.cc
r2655 r2659 12 12 #include "histinit.h" 13 13 #include "pexceptions.h" 14 15 /* Programme test de la classe TimeStamp */ 16 /* SOPHYA - R. Ansari (LAL) - Mars 2005 */ 14 17 15 18 int main(int narg, char* arg[]) … … 35 38 } 36 39 catch (PThrowable & exc) { 37 cerr << " t sphereecp.cc: Catched Exception (PThrowable)" << (string)typeid(exc).name()40 cerr << " ttimestamp.cc: Catched Exception (PThrowable)" << (string)typeid(exc).name() 38 41 << " - Msg= " << exc.Msg() << endl; 39 42 rc = 99; 40 43 } 41 44 catch (std::exception & e) { 42 cerr << " t sphereecp.cc: Catched std::xception "45 cerr << " ttimestamp.cc: Catched std::xception " 43 46 << " - what()= " << e.what() << endl; 44 47 rc = 98; 45 48 } 46 49 catch (...) { 47 cerr << " ssphereecp.cc: some other exception (...) was caught ! " << endl;50 cerr << " ttimestamp.cc: some other exception (...) was caught ! " << endl; 48 51 rc = 97; 49 52 } 50 PrtTim("End t sphereecp " );51 cout << " ---- Programme t sphereecp.cc- FIN (Rc=" << rc << ") --- " << endl;53 PrtTim("End ttimestamp " ); 54 cout << " ---- Programme ttimestamp.cc- FIN (Rc=" << rc << ") --- " << endl; 52 55 return rc; 53 56 }
Note:
See TracChangeset
for help on using the changeset viewer.