12#ifndef ROOT_TException
13#define ROOT_TException
44# define SETJMP(buf) sigsetjmp(buf,1)
46#define SETJMP(buf) setjmp(buf)
51 static ExceptionContext_t R__curr, *R__old = gException; \
53 gException = &R__curr; \
54 R__code = SETJMP(gException->fBuf); if (R__code) { }; {
58 static ExceptionContext_t R__curr, *R__old = gException; \
60 gException = &R__curr; \
61 if ((R__code = SETJMP(gException->fBuf)) == 0) {
64 gException = R__old; \
71 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()