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
larreco
larreco
MCComp
MCBTException.h
Go to the documentation of this file.
1
/**
2
* \file MCBTException.h
3
*
4
* \ingroup MCComp
5
*
6
* \brief Class def header for exception classes in MCComp package
7
*
8
* @author kazuhiro
9
*/
10
11
/** \addtogroup MCComp
12
13
@{*/
14
#ifndef RECOTOOL_MCBTEXCEPTION_H
15
#define RECOTOOL_MCBTEXCEPTION_H
16
17
#include <exception>
18
#include <string>
19
20
namespace
btutil {
21
22
/**
23
\class MCBTException
24
Generic (base) exception class
25
*/
26
class
MCBTException
:
public
std::exception{
27
28
public
:
29
30
MCBTException
(std::string
msg
=
""
) :
std
::exception(),
_msg
(
msg
)
31
{}
32
33
virtual
~MCBTException
() throw(){};
34
virtual
const
char
*
what
()
const
throw()
35
{
return
_msg
.c_str(); }
36
37
private
:
38
39
std::string
_msg
;
40
};
41
42
}
43
#endif
44
/** @} */
// end of doxygen group
pmtana::std
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition:
UtilFunc.cxx:42
btutil::MCBTException::MCBTException
MCBTException(std::string msg="")
Definition:
MCBTException.h:30
btutil::MCBTException::what
virtual const char * what() const
Definition:
MCBTException.h:34
btutil::MCBTException::~MCBTException
virtual ~MCBTException()
Definition:
MCBTException.h:33
btutil::MCBTException::_msg
std::string _msg
Definition:
MCBTException.h:39
example_anaunit.msg
string msg
Definition:
Algorithms/mac/example_anaunit.py:4
btutil::MCBTException
Definition:
MCBTException.h:26
Generated by
1.8.5