CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Namespaces | Macros | Functions
CLHEP/Exceptions/ZMthrow.h File Reference
#include "CLHEP/Exceptions/ZMexAction.h"
#include <stdlib.h>
#include <string>

Go to the source code of this file.

Namespaces

 zmex
 

Macros

#define ZMthrow_from(userExcept, line, file)
 
#define ZMthrow(userExcept)   ZMthrow_from(userExcept, __LINE__, __FILE__)
 

Functions

ZMexAction zmex::ZMthrow_ (const ZMexception &userException, int lineNum, const char fileName[])
 

Macro Definition Documentation

#define ZMthrow (   userExcept)    ZMthrow_from(userExcept, __LINE__, __FILE__)

Definition at line 97 of file CLHEP/Exceptions/ZMthrow.h.

Referenced by main().

#define ZMthrow_from (   userExcept,
  line,
  file 
)
Value:
do { \
try { throw userExcept; } \
catch ( const zmex::ZMexception & x ) { \
if ( zmex::ZMthrow_( x, line, file ) == \
throw; \
} \
} \
} while (false) \
ZMexAction ZMthrow_(const ZMexception &userException, int lineNum, const char fileName[])
Definition: ZMthrow.cc:33

Definition at line 75 of file CLHEP/Exceptions/ZMthrow.h.

Referenced by main().