Public Member Functions | Private Attributes | List of all members
lariov::IOVDataError Class Reference

#include <IOVDataError.h>

Inheritance diagram for lariov::IOVDataError:

Public Member Functions

 IOVDataError (std::string msg="")
 
virtual ~IOVDataError () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

std::string fMsg
 

Detailed Description

Definition at line 25 of file IOVDataError.h.

Constructor & Destructor Documentation

lariov::IOVDataError::IOVDataError ( std::string  msg = "")
inline

Definition at line 29 of file IOVDataError.h.

29  : std::exception()
30  {
31  fMsg = "\033[93m";
32  fMsg += msg;
33  fMsg += "\033[00m";
34  }
void msg(const char *fmt,...)
Definition: message.cpp:107
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual lariov::IOVDataError::~IOVDataError ( )
throw (
)
inlinevirtual

Definition at line 36 of file IOVDataError.h.

36 {};

Member Function Documentation

virtual const char* lariov::IOVDataError::what ( void  ) const
throw (
)
inlinevirtual

Definition at line 37 of file IOVDataError.h.

38  { return fMsg.c_str(); }

Member Data Documentation

std::string lariov::IOVDataError::fMsg
private

Definition at line 41 of file IOVDataError.h.


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