Changeset 492 in Sophya for trunk


Ignore:
Timestamp:
Oct 21, 1999, 5:28:45 PM (26 years ago)
Author:
ansari
Message:

Modif provisoire pour NObjmgr/PPersist Reza+cmv 21/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/PIext/nobjmgr.cc

    r223 r492  
    298298TRY{
    299299  PInPersist pis(flnm);
    300   obj = PPersistMgr::ReadObject(pis);
     300//  obj = PPersistMgr::ReadObject(pis);
     301  obj = pis.ReadObject();
    301302  if (obj == NULL) ok = false;
    302 CATCH(merr)
    303   { printf("NamedObjMgr::ReadObj()/Error Exception= %ld (%s) \n",
    304     (long)merr, PeidaExc(merr));  ok = false; } ENDTRY;
     303catch(PThrowable pex)
     304  { printf("NamedObjMgr::ReadObj()/Error Exception= %s \n",
     305           pex.Msg().c_str());  ok = false; } ENDTRY;
    305306
    306307if (!ok)  return;
Note: See TracChangeset for help on using the changeset viewer.