LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
OpticalRecoException.cxx
Go to the documentation of this file.
1
#include "
OpticalRecoException.h
"
2
//#include "StackTrace.h"
3
namespace
pmtana
{
4
5
OpticalRecoException::OpticalRecoException
(
const
std::string& msg) :
std
::
exception
()
6
{
7
// print_stacktrace();
8
_msg
=
"\033[93m EXCEPTION \033[00m\033[95m"
;
9
_msg
+= msg;
10
_msg
+=
"\033[00m\n"
;
11
}
12
13
const
char
*
OpticalRecoException::what
()
const
throw()
14
{
15
return
_msg
.c_str();
16
}
17
18
}
OpticalRecoException.h
Class def header for exception classes in OpticalDetector package.
std
STL namespace.
pmtana::OpticalRecoException::what
virtual const char * what() const
Definition:
OpticalRecoException.cxx:13
pmtana::OpticalRecoException::_msg
std::string _msg
Definition:
OpticalRecoException.h:33
pmtana
Definition:
AlgoCFD.cxx:14
pmtana::OpticalRecoException::OpticalRecoException
OpticalRecoException(const std::string &msg="")
Definition:
OpticalRecoException.cxx:5
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
larana
v09_15_05
source
larana
OpticalDetector
OpHitFinder
OpticalRecoException.cxx
Generated on Thu May 2 2024 20:59:33 for LArSoft by
1.8.11