src
DataFormats
GeometrySurface
interface
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
7
class
BaseGeomException
:
public
std::exception
{
8
public
:
9
BaseGeomException
()
throw
() {}
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
:
15
std::string
theMessage
;
16
};
17
18
class
GeometryError
:
public
BaseGeomException
{
19
public
:
20
GeometryError
()
throw
() {}
21
GeometryError
(
const
std::string
& message) :
BaseGeomException
(message) {}
22
~GeometryError
()
throw
()
override
{}
23
};
24
25
#endif
BaseGeomException::~BaseGeomException
~BaseGeomException() override
Definition:
GeomExceptions.h:11
GeometryError::GeometryError
GeometryError()
Definition:
GeomExceptions.h:20
BaseGeomException::BaseGeomException
BaseGeomException(const std::string &message)
Definition:
GeomExceptions.h:10
BaseGeomException::theMessage
std::string theMessage
Definition:
GeomExceptions.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
GeometryError::~GeometryError
~GeometryError() override
Definition:
GeomExceptions.h:22
cppFunctionSkipper.exception
exception
Definition:
cppFunctionSkipper.py:10
BaseGeomException::BaseGeomException
BaseGeomException()
Definition:
GeomExceptions.h:9
GeometryError
Definition:
GeomExceptions.h:18
ALCARECOPromptCalibProdSiPixelAli0T_cff.throw
throw
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:9
GeometryError::GeometryError
GeometryError(const std::string &message)
Definition:
GeomExceptions.h:21
BaseGeomException::what
const char * what() const override
Definition:
GeomExceptions.h:12
BaseGeomException
Definition:
GeomExceptions.h:7
Generated for CMSSW Reference Manual by
1.8.14