LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MCBTException.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_MCBTEXCEPTION_H
15
#define RECOTOOL_MCBTEXCEPTION_H
16
17
#include <exception>
18
#include <string>
19
20
namespace
btutil
{
21
26
class
MCBTException
:
public
std::exception
{
27
28
public
:
29
MCBTException
(std::string msg =
""
) :
std
::
exception
(),
_msg
(msg) {}
30
31
virtual
~MCBTException
() throw(){};
32
virtual
const
char
*
what
()
const
throw() {
return
_msg
.c_str(); }
33
34
private
:
35
std::string
_msg
;
36
};
37
38
}
39
#endif
40
// end of doxygen group
btutil
Definition:
MCBTAlg.cxx:15
btutil::MCBTException::MCBTException
MCBTException(std::string msg="")
Definition:
MCBTException.h:29
std
STL namespace.
btutil::MCBTException::what
virtual const char * what() const
Definition:
MCBTException.h:32
btutil::MCBTException::~MCBTException
virtual ~MCBTException()
Definition:
MCBTException.h:31
btutil::MCBTException::_msg
std::string _msg
Definition:
MCBTException.h:35
btutil::MCBTException
Definition:
MCBTException.h:26
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
larreco
v09_25_00
source
larreco
MCComp
MCBTException.h
Generated on Thu May 2 2024 20:59:46 for LArSoft by
1.8.11