All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OpticalRecoException.cxx
Go to the documentation of this file.
1 #include "OpticalRecoException.h"
2 //#include "StackTrace.h"
3 namespace pmtana {
4 
6  : std::exception()
7  {
8  // print_stacktrace();
9  _msg = "\033[93m EXCEPTION \033[00m\033[95m";
10  _msg += msg;
11  _msg += "\033[00m\n";
12  }
13 
14  const char* OpticalRecoException::what() const throw()
15  { return _msg.c_str(); }
16 
17 }
Class def header for exception classes in OpticalDetector package.
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
virtual const char * what() const
OpticalRecoException(const std::string &msg="")