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
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
cppFunctionSkipper.exception
exception
Definition:
cppFunctionSkipper.py:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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
Generated for CMSSW Reference Manual by
1.8.16