CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
~MagException() override
Definition: MagExceptions.cc:4
std::string theMessage
Definition: MagExceptions.h:15
static constexpr float b2
static constexpr float b1