12#ifndef ROOT_TException 
   13#define ROOT_TException 
   39# define SETJMP(buf) sigsetjmp(buf,1) 
   41#define SETJMP(buf) setjmp(buf) 
   46      static ExceptionContext_t R__curr, *R__old = gException; \ 
   48      gException = &R__curr; \ 
   49      R__code = SETJMP(gException->fBuf); if (R__code) { }; { 
 
   53      static ExceptionContext_t R__curr, *R__old = gException; \ 
   55      gException = &R__curr; \ 
   56      if ((R__code = SETJMP(gException->fBuf)) == 0) { 
 
   59         gException = R__old; \ 
 
   66      gException = R__old; \ 
 
R__EXTERN TExceptionHandler * gExceptionHandler
 
R__EXTERN ExceptionContext_t * gException
 
R__EXTERN void Throw(int code)
If an exception context has been set (using the TRY and RETRY macros) jump back to where it was set.
 
virtual void HandleException(int sig)=0
 
virtual ~TExceptionHandler()