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

#include <OpT0FinderException.h>

Inheritance diagram for flashmatch::OpT0FinderException:

Public Member Functions

 OpT0FinderException (const std::string &msg="")
 Default ctor w/ error message input (optional) More...
 
virtual ~OpT0FinderException () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

std::string _msg
 Error message. More...
 

Detailed Description

Generic (base) exception class for OpT0Finder package

Definition at line 25 of file OpT0FinderException.h.

Constructor & Destructor Documentation

flashmatch::OpT0FinderException::OpT0FinderException ( const std::string &  msg = "")

Default ctor w/ error message input (optional)

Definition at line 8 of file OpT0FinderException.cxx.

9  : std::exception()
10  {
11  _msg = "\033[93m EXCEPTION \033[00m\033[95m";
12  _msg += msg;
13  _msg += "\033[00m\n";
14  }
std::string _msg
Error message.
virtual flashmatch::OpT0FinderException::~OpT0FinderException ( )
throw (
)
inlinevirtual

Definition at line 31 of file OpT0FinderException.h.

31 {};

Member Function Documentation

const char * flashmatch::OpT0FinderException::what ( ) const
throw (
)
virtual

Definition at line 16 of file OpT0FinderException.cxx.

17  { return _msg.c_str(); }
std::string _msg
Error message.

Member Data Documentation

std::string flashmatch::OpT0FinderException::_msg
private

Error message.

Definition at line 37 of file OpT0FinderException.h.


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