CMS 3D CMS Logo

GeomExceptions.h
Go to the documentation of this file.
1 #ifndef Geom_GeomExceptions_H
2 #define Geom_GeomExceptions_H
3 
4 #include <exception>
5 #include <string>
6 
8 public:
10  BaseGeomException(const std::string& message) : theMessage(message) {}
11  ~BaseGeomException() throw() override {}
12  const char* what() const throw() override { return theMessage.c_str(); }
13 
14 private:
16 };
17 
19 public:
21  GeometryError(const std::string& message) : BaseGeomException(message) {}
22  ~GeometryError() throw() override {}
23 };
24 
25 #endif
GeometryError::~GeometryError
~GeometryError() override
Definition: GeomExceptions.h:22
BaseGeomException::what
const char * what() const override
Definition: GeomExceptions.h:12
BaseGeomException::BaseGeomException
BaseGeomException(const std::string &message)
Definition: GeomExceptions.h:10
BaseGeomException::theMessage
std::string theMessage
Definition: GeomExceptions.h:15
BaseGeomException::BaseGeomException
BaseGeomException()
Definition: GeomExceptions.h:9
BaseGeomException
Definition: GeomExceptions.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cppFunctionSkipper.exception
exception
Definition: cppFunctionSkipper.py:10
GeometryError
Definition: GeomExceptions.h:18
GeometryError::GeometryError
GeometryError(const std::string &message)
Definition: GeomExceptions.h:21
GeometryError::GeometryError
GeometryError()
Definition: GeomExceptions.h:20
ALCARECOPromptCalibProdSiPixelAli0T_cff.throw
throw
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:9
BaseGeomException::~BaseGeomException
~BaseGeomException() override
Definition: GeomExceptions.h:11