Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larevt
larevt
CalibrationDBI
IOVData
IOVDataError.h
Go to the documentation of this file.
1
/**
2
* \file IOVDataError.h
3
*
4
* \ingroup IOVData
5
*
6
* \brief Collection of exception classes for IOVData
7
*
8
* @author kterao
9
*/
10
11
/** \addtogroup IOVData
12
13
@{*/
14
#ifndef IOVDATA_IOVDATAERROR_H
15
#define IOVDATA_IOVDATAERROR_H
16
17
#include <iostream>
18
#include <exception>
19
20
namespace
lariov {
21
22
/**
23
\class IOVDataError
24
*/
25
class
IOVDataError
:
public
std::exception{
26
27
public
:
28
29
IOVDataError
(std::string
msg
=
""
) :
std
::exception()
30
{
31
fMsg
=
"\033[93m"
;
32
fMsg
+=
msg
;
33
fMsg
+=
"\033[00m"
;
34
}
35
36
virtual
~IOVDataError
() throw(){};
37
virtual
const
char
*
what
()
const
throw()
38
{
return
fMsg
.c_str(); }
39
40
private
:
41
std::string
fMsg
;
42
};
43
44
}
45
46
#endif
47
/** @} */
// end of doxygen group
48
pmtana::std
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition:
UtilFunc.cxx:42
lariov::IOVDataError::what
virtual const char * what() const
Definition:
IOVDataError.h:37
lariov::IOVDataError::IOVDataError
IOVDataError(std::string msg="")
Definition:
IOVDataError.h:29
lariov::IOVDataError::fMsg
std::string fMsg
Definition:
IOVDataError.h:41
lariov::IOVDataError::~IOVDataError
virtual ~IOVDataError()
Definition:
IOVDataError.h:36
lariov::IOVDataError
Definition:
IOVDataError.h:25
example_anaunit.msg
string msg
Definition:
Algorithms/mac/example_anaunit.py:4
Generated by
1.8.5