LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
OpticalRecoException.cxx
Go to the documentation of this file.
1 #include "OpticalRecoException.h"
2 //#include "StackTrace.h"
3 namespace pmtana {
4 
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 }
Class def header for exception classes in OpticalDetector package.
STL namespace.
virtual const char * what() const
OpticalRecoException(const std::string &msg="")
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33