CMS 3D CMS Logo

MagExceptions.cc
Go to the documentation of this file.
2 
3 MagException::MagException(const char* message) : theMessage(message) {}
5 const char* MagException::what() const throw() { return theMessage.c_str(); }
6 
8  double a1, double b1, double c1, double a2, double b2, double c2) throw() {
9  limits_[0] = a1;
10  limits_[1] = b1;
11  limits_[2] = c1;
12  limits_[3] = a2;
13  limits_[4] = b2;
14  limits_[5] = c2;
15 }
16 
18 
20  return "LinearGridInterpolator3D: field requested outside of grid validity";
21 }
~GridInterpolator3DException() override
const char * what() const override
const char * what() const override
Definition: MagExceptions.cc:5
GridInterpolator3DException(double a1, double b1, double c1, double a2, double b2, double c2)
Definition: MagExceptions.cc:7
bias2_t b2[25]
Definition: b2.h:9
~MagException() override
Definition: MagExceptions.cc:4
std::string theMessage
Definition: MagExceptions.h:15
static constexpr float b1