error handling

Rutger van der Eijk (r36@nikhef.nl)
Thu, 15 Oct 1998 18:33:41 +0200 (MET DST)


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