24#undef ENABLE_ZOOM_EXCEPTIONS
109#ifndef ENABLE_ZOOM_EXCEPTIONS
128#define ZMthrowA(A) do { std::cerr << A.name() << " thrown:\n" \
129 << A.what() << "\n" \
130 << "at line " << __LINE__ << " in file " << __FILE__ << "\n"; \
133#define ZMthrowC(A) do { std::cerr << A.name() << ":\n" \
134 << A.what() << "\n" \
135 << "at line " << __LINE__ << " in file " << __FILE__ << "\n"; \
141 virtual const char*
what()
const throw();
142 virtual const char*
name()
const throw() = 0;
148#define CLHEP_vector_exception_header(NAME) \
149 class NAME : public CLHEP_vector_exception { \
151 NAME ( const std::string & s ) throw(); \
152 virtual const char* name() const throw(); \
153 virtual ~NAME() throw() {} \
190#ifdef ENABLE_ZOOM_EXCEPTIONS
201#ifndef ZMEXCEPTIONS_H
228#define ZMthrowA(A) ZMthrow(A)
229#define ZMthrowC(A) ZMthrow(A)
#define ZMexStandardDefinition(Parent, Class)
#define CLHEP_vector_exception_header(NAME)
virtual const char * what() const
virtual const char * name() const =0