CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include "CLHEP/Exceptions/ZMexAction.h"
#include <stdlib.h>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | zmex |
Defines | |
#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[]) |
#define ZMthrow | ( | userExcept | ) | ZMthrow_from(userExcept, __LINE__, __FILE__) |
#define ZMthrow_from | ( | userExcept, | |||
line, | |||||
file | ) |
Value:
do { \ try { throw userExcept; } \ catch ( const zmex::ZMexception & x ) { \ if ( zmex::ZMthrow_( x, line, file ) == \ zmex::ZMexThrowIt ) { \ throw; \ } \ } \ } while (false) \
Definition at line 75 of file ZMthrow.h.
Referenced by main().