Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
CMTool
CMToolBase
CMTException.h
Go to the documentation of this file.
1
/**
2
* \file CMTException.h
3
*
4
* \ingroup CMTool
5
*
6
* \brief Class def header for exception classes in CMTException
7
*
8
* @author kazuhiro
9
*/
10
11
/** \addtogroup CMTException
12
13
@{*/
14
#ifndef RECOTOOL_CMTEXCEPTION_H
15
#define RECOTOOL_CMTEXCEPTION_H
16
17
#include <exception>
18
#include <string>
19
20
namespace
cmtool
{
21
/**
22
\class CMTException
23
Generic (base) exception class
24
*/
25
class
CMTException
:
public
std::exception
{
26
27
public
:
28
29
CMTException
(
std::string
msg
=
""
) :
_msg
(
msg
)
30
{}
31
32
const
char
*
what
()
const
noexcept
override
33
{
return
_msg
.c_str(); }
34
35
private
:
36
37
std::string
_msg
;
38
};
39
40
}
41
#endif
42
/** @} */
// end of doxygen group
freeze_graph.const
const
Definition:
freeze_graph.py:179
cmtool::CMTException::_msg
std::string _msg
Definition:
CMTException.h:37
msg
void msg(const char *fmt,...)
Definition:
message.cpp:107
string
std::string string
Definition:
nybbler.cc:12
cmtool::CMTException::what
const char * what() const noexcept override
Definition:
CMTException.h:32
cmtool::CMTException::CMTException
CMTException(std::string msg="")
Definition:
CMTException.h:29
cmtool::CMTException
Definition:
CMTException.h:25
cmtool
Definition:
CFAlgoQRatio.cxx:3
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
Generated by
1.8.11