LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ShowerRecoException.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_SHOWERRECOEXCEPTION_H
15
#define RECOTOOL_SHOWERRECOEXCEPTION_H
16
17
#include <iostream>
18
#include <exception>
19
20
namespace
showerreco
{
25
class
ShowerRecoException
:
public
std::exception
{
26
27
public
:
28
29
ShowerRecoException
(std::string msg=
""
) :
std
::
exception
()
30
{
31
_msg
=
"\033[93m"
;
32
_msg
+= msg;
33
_msg
+=
"\033[00m"
;
34
}
35
36
virtual
~ShowerRecoException
() throw(){};
37
virtual
const
char
*
what
()
const
throw()
38
{
return
_msg
.c_str(); }
39
40
private
:
41
42
std::string
_msg
;
43
};
44
45
}
46
#endif
47
// end of doxygen group
48
showerreco::ShowerRecoException::~ShowerRecoException
virtual ~ShowerRecoException()
Definition:
ShowerRecoException.h:36
showerreco
Definition:
ShowerCalo.cxx:6
std
STL namespace.
showerreco::ShowerRecoException::ShowerRecoException
ShowerRecoException(std::string msg="")
Definition:
ShowerRecoException.h:29
showerreco::ShowerRecoException
Definition:
ShowerRecoException.h:25
showerreco::ShowerRecoException::what
virtual const char * what() const
Definition:
ShowerRecoException.h:37
showerreco::ShowerRecoException::_msg
std::string _msg
Definition:
ShowerRecoException.h:42
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
larreco
v07_10_02
source
larreco
ShowerFinder
ShowerReco3D
ShowerRecoException.h
Generated on Wed Dec 12 2018 14:43:01 for LArSoft by
1.8.11