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

#include <DetectorClocksException.h>

Inheritance diagram for gar::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 26 of file DetectorClocksException.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file DetectorClocksException.h.

30  : std::exception(), _msg(msg)
31  {}
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual gar::detinfo::DetectorClocksException::~DetectorClocksException ( )
throw (
)
inlinevirtual

Definition at line 33 of file DetectorClocksException.h.

33 {};

Member Function Documentation

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

Definition at line 34 of file DetectorClocksException.h.

35  {return _msg.c_str(); }

Member Data Documentation

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

Definition at line 39 of file DetectorClocksException.h.


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