Logo ROOT   6.07/09
Reference Guide
Classes | Macros | Functions | Variables
TException.h File Reference
#include <setjmp.h>
#include "RConfig.h"
#include "DllImport.h"
Include dependency graph for TException.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ExceptionContext_t
 

Macros

#define CATCH(n)
 
#define ENDTRY
 
#define RETRY
 
#define SETJMP(buf)   setjmp(buf)
 
#define TRY
 

Functions

void Throw (int code)
 If an exception context has been set (using the TRY and RETRY macros) jump back to where it was set. More...
 

Variables

R__EXTERN ExceptionContext_tgException
 

Macro Definition Documentation

#define CATCH (   n)
Value:
gException = R__old; \
} else { \
int n = R__code; \
gException = R__old;
R__EXTERN ExceptionContext_t * gException
Definition: TException.h:78
const Int_t n
Definition: legend1.C:16

Definition at line 67 of file TException.h.

#define ENDTRY
Value:
} \
gException = R__old; \
}

Definition at line 73 of file TException.h.

#define RETRY
Value:
{ \
static ExceptionContext_t R__curr, *R__old = gException; \
int R__code; \
gException = &R__curr; \
R__code = SETJMP(gException->fBuf); if (R__code) { }; {
R__EXTERN ExceptionContext_t * gException
Definition: TException.h:78
#define SETJMP(buf)
Definition: TException.h:50

Definition at line 53 of file TException.h.

#define SETJMP (   buf)    setjmp(buf)

Definition at line 50 of file TException.h.

#define TRY
Value:
{ \
static ExceptionContext_t R__curr, *R__old = gException; \
int R__code; \
gException = &R__curr; \
if ((R__code = SETJMP(gException->fBuf)) == 0) {
R__EXTERN ExceptionContext_t * gException
Definition: TException.h:78
#define SETJMP(buf)
Definition: TException.h:50

Definition at line 60 of file TException.h.

Function Documentation

void Throw ( int  code)

If an exception context has been set (using the TRY and RETRY macros) jump back to where it was set.

Definition at line 27 of file TException.cxx.

Variable Documentation

Definition at line 78 of file TException.h.