24#undef ENABLE_ZOOM_EXCEPTIONS
109#ifndef ENABLE_ZOOM_EXCEPTIONS
127#define ZMthrowA(A) do { std::cerr << A.name() << " thrown:\n" \
128 << A.what() << "\n" \
129 << "at line " << __LINE__ << " in file " << __FILE__ << "\n"; \
132#define ZMthrowC(A) do { std::cerr << A.name() << ":\n" \
133 << A.what() << "\n" \
134 << "at line " << __LINE__ << " in file " << __FILE__ << "\n"; \
140 virtual const char*
what()
const throw();
141 virtual const char*
name()
const throw() = 0;
147#define CLHEP_vector_exception_header(NAME) \
148 class NAME : public CLHEP_vector_exception { \
150 NAME ( const std::string & s ) throw(); \
151 virtual const char* name() const throw(); \
152 virtual ~NAME() throw() {} \
189#ifdef ENABLE_ZOOM_EXCEPTIONS
200#ifndef ZMEXCEPTIONS_H
201 #include "Exceptions/ZMexception.h"
202 #include "Exceptions/ZMthrow.h"
227#define ZMthrowA(A) ZMthrow(A)
228#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