CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
ZMthrow.h File Reference
#include "CLHEP/Exceptions/ZMexAction.h"
#include <stdlib.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  zmex
 

Macros

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

Functions

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

Macro Definition Documentation

◆ ZMthrow

#define ZMthrow ( userExcept)
Value:
ZMthrow_from(userExcept, __LINE__, __FILE__)
#define ZMthrow_from(userExcept, line, file)
Definition ZMthrow.h:75

Definition at line 97 of file ZMthrow.h.

◆ ZMthrow_from

#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) \
@ ZMexThrowIt
Definition ZMexAction.h:20
ZMexAction ZMthrow_(const ZMexception &userException, int lineNum, const char fileName[])

Definition at line 75 of file ZMthrow.h.