All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
pmtana::OpticalRecoException Class Reference

#include <OpticalRecoException.h>

Inheritance diagram for pmtana::OpticalRecoException:

Public Member Functions

 OpticalRecoException (const std::string &msg="")
 
virtual const char * what () const throw ()
 

Private Attributes

std::string _msg
 

Detailed Description

Definition at line 25 of file OpticalRecoException.h.

Constructor & Destructor Documentation

pmtana::OpticalRecoException::OpticalRecoException ( const std::string &  msg = "")

Definition at line 5 of file OpticalRecoException.cxx.

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  }

Member Function Documentation

const char * pmtana::OpticalRecoException::what ( ) const
throw (
)
virtual

Definition at line 14 of file OpticalRecoException.cxx.

15  { return _msg.c_str(); }

Member Data Documentation

std::string pmtana::OpticalRecoException::_msg
private

Definition at line 35 of file OpticalRecoException.h.


The documentation for this class was generated from the following files: