Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TException.h File Reference

#include <setjmp.h>
#include "RConfig.h"
#include "DllImport.h"

Include dependency graph for TException.h:

Include dependency graph

Go to the source code of this file.

Compounds

struct  ExceptionContext_t

Defines

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

Functions

void Throw (int code)

Variables

R__EXTERN ExceptionContext_tgException


Define Documentation

#define SETJMP buf       setjmp(buf)
 

Definition at line 46 of file TException.h.

#define RETRY
 

Value:

{ \
      ExceptionContext_t __curr, *__old = gException; \
      int __code; \
      gException = &__curr; \
      __code = SETJMP(gException->buf); if (__code) { }; {

Definition at line 49 of file TException.h.

#define TRY
 

Value:

{ \
      ExceptionContext_t __curr, *__old = gException; \
      int __code; \
      gException = &__curr; \
      if ((__code = SETJMP(gException->buf)) == 0) {

Definition at line 56 of file TException.h.

#define CATCH  
 

Value:

gException = __old; \
      } else { \
         int n = __code; \
         gException = __old;

Definition at line 63 of file TException.h.

#define ENDTRY
 

Value:

} \
      gException = __old; \
   }

Definition at line 69 of file TException.h.


Function Documentation

void Throw int    code
 


Variable Documentation

R__EXTERN ExceptionContext_t* gException
 

Definition at line 74 of file TException.h.


Generated on Thu Dec 18 14:53:09 2003 for ROOT by doxygen1.2.16