Monarch
v3.8.2
Project 8 Data File Format Library
Monarch3
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
14
M3Exception::M3Exception
() :
15
exception(),
16
fMessage()
17
{
18
}
19
M3Exception::M3Exception
(
const
M3Exception
& aCopy ) :
20
exception( aCopy ),
21
fMessage
( aCopy.
fMessage
)
22
{
23
}
24
M3Exception::~M3Exception
() throw ()
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
}
monarch3::M3Exception::what
virtual const char * what() const
Definition:
M3Exception.cc:34
monarch3
Definition:
M3Constants.hh:31
M3Exception.hh
monarch3::M3Exception::M3Exception
M3Exception()
Definition:
M3Exception.cc:14
monarch3::M3Exception
Specialized exception class for Monarch3.
Definition:
M3Exception.hh:28
monarch3::M3Exception::fMessage
std::string fMessage
Definition:
M3Exception.hh:48
monarch3::M3Exception::~M3Exception
virtual ~M3Exception()
Definition:
M3Exception.cc:24
Generated by
1.8.13