LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
OpticalRecoException.cxx
Go to the documentation of this file.
1 #ifndef larana_OPTICALDETECTOR_OPTICALRECOEXCEPTION_CXX
2 #define larana_OPTICALDETECTOR_OPTICALRECOEXCEPTION_CXX
3 
4 #include "OpticalRecoException.h"
5 //#include "StackTrace.h"
6 namespace pmtana {
7 
9  : std::exception()
10  {
11  // print_stacktrace();
12  _msg = "\033[93m EXCEPTION \033[00m\033[95m";
13  _msg += msg;
14  _msg += "\033[00m\n";
15  }
16 
17  const char* OpticalRecoException::what() const throw()
18  { return _msg.c_str(); }
19 
20 }
21 #endif
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