Monarch  v3.8.2
Project 8 Data File Format Library
M3Exception.cc
Go to the documentation of this file.
1 /*
2  * M3Exception.cc
3  *
4  * Created on: Dec 4, 2014
5  * Author: nsoblath
6  */
7 #define M3_API_EXPORTS
8 
9 #include "M3Exception.hh"
10 
11 namespace monarch3
12 {
13 
15  exception(),
16  fMessage()
17  {
18  }
20  exception( aCopy ),
21  fMessage( aCopy.fMessage )
22  {
23  }
25  {
26  }
27 
28  //void M3Exception::SetWhat( const char* aWhat )
29  //{
30  // fMessage = std::string( aWhat );
31  // //fStream << aWhat;
32  //}
33 
34  const char* M3Exception::what() const throw ()
35  {
36  return fMessage.c_str();
37  }
38 
39 }
virtual const char * what() const
Definition: M3Exception.cc:34
Specialized exception class for Monarch3.
Definition: M3Exception.hh:28
std::string fMessage
Definition: M3Exception.hh:48