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
RecoAlg
ClusterRecoUtil
CRUException.h
Go to the documentation of this file.
1
/**
2
* \file CRUException.h
3
*
4
* \ingroup ClusterRecoUtil
5
*
6
* \brief Class def header for exception classes in ClusterRecoUtil package
7
*
8
* @author kazuhiro
9
*/
10
11
/** \addtogroup ClusterRecoUtil
12
13
@{*/
14
#ifndef CRUEXCEPTION_H
15
#define CRUEXCEPTION_H
16
17
#include <string>
18
#include <exception>
19
20
namespace
cluster
{
21
/**
22
\class CRUException
23
Generic (base) exception class
24
*/
25
class
CRUException
:
public
std::exception{
26
27
public
:
28
29
CRUException
(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
cluster
process_name cluster
Definition:
cheaterreco.fcl:51
cluster::CRUException::what
const char * what() const noexceptoverride
Definition:
CRUException.h:32
SortModuleTimes.const
string const
Definition:
SortModuleTimes.py:871
example_anaunit.msg
string msg
Definition:
Algorithms/mac/example_anaunit.py:4
cluster::CRUException::_msg
std::string _msg
Definition:
CRUException.h:37
cluster::CRUException
Definition:
CRUException.h:25
cluster::CRUException::CRUException
CRUException(std::string msg="")
Definition:
CRUException.h:29
Generated by
1.8.5