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