Re: [ROOT] ROOT Error handling

From: joe robe (joer00@yahoo.com)
Date: Thu Jan 17 2002 - 14:31:12 MET


> Currently we don't throw anything and there is also
> no global
> error variable.

Is there a reason not to do so ?? It would be simple
to make a bool fError data member in TObject !

 The TFile can be catched with the
> IsZombie()

It CANT, if you open a NON root file , the file WILL
be opened. But than when you try to read keys it
CRASHES. Of course I can read the header and check if
it is a root file, but thats a lot of work for
something root already does for me by showing the
error message. Is there any flag I did not find
telling me that this IS or IS NOT a root file ?

joe


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET