LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 28 of file IOVDataError.h.

References fMsg.

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

Definition at line 35 of file IOVDataError.h.

35 {};

Member Function Documentation

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

Definition at line 36 of file IOVDataError.h.

References fMsg.

36 { return fMsg.c_str(); }

Member Data Documentation

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

Definition at line 39 of file IOVDataError.h.

Referenced by IOVDataError(), and what().


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