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.
void msg(const char *fmt,...)
Definition: message.cpp:107
std::string string
Definition: nybbler.cc:12
STL namespace.
virtual const char * what() const
OpticalRecoException(const std::string &msg="")
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33