error handling

From: Rutger van der Eijk (r36@nikhef.nl)
Date: Thu Oct 15 1998 - 18:33:41 MEST


Hi,

I would like to have my 'own' error handling instead of the standard
TObject::Error(...) TObject::Warning(...), for a certain TObject derived
class. (typically I want a TGMsgBox to popup with the error message). All
the error handling members of TObject are not declared virtual, so
this gives problems. Is this intentionally, and should I thus use some
other mechanism to catch the errors (I don't really understand the
ErrorHandler functions/objects? from TError.h)? If not will it be possible
to make the members virtual?

Thanks,

Rutger



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET