TException

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri Jan 28 2000 - 14:25:56 MET


Hi again,

>  ... although I think the standard library's std::exception would
> work just as well (if not better, since it would let you catch
> exceptions thrown by standard library calls). 

I guess one could let TException inherit from std::exception, and
you'd have what George Heintzelman is talking about. The only
modification would be in TException.h:

- class TException : public TObject
+ class TException : public TObject, public exception

I haven't tried it yet, but it should work though

Keep on ROOT'ing in the free (OpenSource) world!

Christian Holm Christensen 
______________________________________________________________________
Address:                                     Phone:  (+45) 35 35 96 91 
  Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 307 
  DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
  Denmark                                    Email:       cholm@nbi.dk



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET