Changeset 583 in Sophya for trunk/SophyaProg/Tests/tstndblk.cc


Ignore:
Timestamp:
Nov 16, 1999, 6:00:47 PM (26 years ago)
Author:
ansari
Message:

Div. prog test - Reza 16/11/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tstndblk.cc

    r552 r583  
    2222cout<<endl<<"Createur par defaut Va"<<endl;
    2323NDataBlock<int_4> V1; V1.Print(1,99);
    24 TRY {
     24try {
    2525  cout<<endl<<"...Createur par copie V2e(V1)"<<endl;
    2626  NDataBlock<int_4> V2e(V1);
    27 } CATCHALL {
    28   cout<<"...Exception catched"<<endl;
    29 } ENDTRY
     27} catch(PException exc) {
     28  cout<<"...Exception catched : " << exc.Msg() << endl;
     29}
    3030
    3131//-----------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.