Monarch  v3.8.2
Project 8 Data File Format Library
M2Exception.cc
Go to the documentation of this file.
1 #include "M2Exception.hh"
2 
3 namespace monarch2
4 {
5 
7  exception(),
8  fMessage( "" )
9  {
10  }
12  exception( aCopy ),
13  fMessage( aCopy.fMessage )
14  {
15  }
17  {
18  }
19 
20  const char* M2Exception::what() const throw ()
21  {
22  return fMessage.c_str();
23  }
24 
25 }
virtual const char * what() const
Definition: M2Exception.cc:20
std::string fMessage
Definition: M2Exception.hh:30