MagneticField
VolumeGeometry
interface
MagExceptions.h
Go to the documentation of this file.
1
#ifndef Mag_MagExceptions_H
2
#define Mag_MagExceptions_H
3
4
#include <exception>
5
#include <string>
6
7
class
MagException
:
public
std::exception
{
8
public
:
9
MagException
()
throw
() {}
10
MagException
(
const
char
*message);
11
~MagException
()
throw
() override;
12
const
char
*
what
()
const
throw
() override;
13
14
private:
15
std
::
string
theMessage
;
16
};
17
18
class
MagGeometryError
: public
MagException
{
19
public
:
20
MagGeometryError
()
throw
() {}
21
MagGeometryError
(
const
char
*message) :
MagException
(message) {}
22
~MagGeometryError
()
throw
()
override
{}
23
};
24
25
class
MagLogicError
:
public
MagException
{
26
public
:
27
MagLogicError
()
throw
() {}
28
MagLogicError
(
const
char
*message) :
MagException
(message) {}
29
~MagLogicError
()
throw
()
override
{}
30
};
31
32
class
GridInterpolator3DException
:
public
std::exception
{
33
public
:
34
GridInterpolator3DException
(
double
a1,
double
b1
,
double
c1
,
double
a2
,
double
b2
,
double
c2)
throw
();
35
~
GridInterpolator3DException
()
throw
()
override
;
36
const
char
*
what
()
const
throw
()
override
;
37
double
*
limits
(
void
) {
return
limits_; }
38
39
protected
:
40
double
limits_[6];
41
};
42
43
#endif
MagException::what
const char * what() const override
Definition:
MagExceptions.cc:5
MagLogicError::MagLogicError
MagLogicError()
Definition:
MagExceptions.h:27
MagException::~MagException
~MagException() override
Definition:
MagExceptions.cc:4
MagLogicError::MagLogicError
MagLogicError(const char *message)
Definition:
MagExceptions.h:28
MagGeometryError::MagGeometryError
MagGeometryError(const char *message)
Definition:
MagExceptions.h:21
GridInterpolator3DException
Definition:
MagExceptions.h:32
MagException::theMessage
std::string theMessage
Definition:
MagExceptions.h:15
b2
static constexpr float b2
Definition:
L1EGammaCrystalsEmulatorProducer.cc:83
watchdog.const
const
Definition:
watchdog.py:83
MagLogicError
Definition:
MagExceptions.h:25
testProducerWithPsetDescEmpty_cfi.a2
a2
Definition:
testProducerWithPsetDescEmpty_cfi.py:35
MagLogicError::~MagLogicError
~MagLogicError() override
Definition:
MagExceptions.h:29
MagGeometryError::MagGeometryError
MagGeometryError()
Definition:
MagExceptions.h:20
b1
static constexpr float b1
Definition:
L1EGammaCrystalsEmulatorProducer.cc:83
cppFunctionSkipper.exception
exception
Definition:
cppFunctionSkipper.py:10
alignmentValidation.c1
c1
do drawing
Definition:
alignmentValidation.py:1025
MagException
Definition:
MagExceptions.h:7
GridInterpolator3DException::limits
double * limits(void)
Definition:
MagExceptions.h:37
MagException::MagException
MagException()
Definition:
MagExceptions.h:9
MagGeometryError
Definition:
MagExceptions.h:18
std
Definition:
JetResolutionObject.h:76
ALCARECOPromptCalibProdSiPixelAli0T_cff.throw
throw
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:9
MagGeometryError::~MagGeometryError
~MagGeometryError() override
Definition:
MagExceptions.h:22
Generated for CMSSW Reference Manual by
1.8.16