[ROOT] ROOT Error handling

From: joe robe (joer00@yahoo.com)
Date: Wed Jan 16 2002 - 23:12:47 MET


Hi,

I cant find any documentaion on ROOT error handling.
Is there any way to CHECK for errors and avoid
printing them in the console window (for a QT based
project) ?

I.e. if I open an NON ROOT file with TFile an error is
printed, but how can I CHECK for this and do something
like

TFile File("smoehting.txt"):
if(File.Error())
printf("file 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:40 MET