Public Member Functions | Private Attributes | List of all members
detinfo::DetectorClocksException Class Reference

#include <DetectorClocksException.h>

Inheritance diagram for detinfo::DetectorClocksException:

Public Member Functions

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

Private Attributes

std::string _msg
 

Detailed Description

Simple exception class for DetectorClocks

Definition at line 25 of file DetectorClocksException.h.

Constructor & Destructor Documentation

detinfo::DetectorClocksException::DetectorClocksException ( std::string  msg = "")
inline

Definition at line 28 of file DetectorClocksException.h.

28 : std::exception(), _msg(msg) {}
virtual const char * msg() const
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual detinfo::DetectorClocksException::~DetectorClocksException ( )
throw (
)
inlinevirtual

Definition at line 30 of file DetectorClocksException.h.

30 {};

Member Function Documentation

virtual const char* detinfo::DetectorClocksException::msg ( ) const
throw (
)
inlinevirtual

Definition at line 32 of file DetectorClocksException.h.

33  {
34  return _msg.c_str();
35  }

Member Data Documentation

std::string detinfo::DetectorClocksException::_msg
private

Definition at line 38 of file DetectorClocksException.h.


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