Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
DataRepException.cxx
Go to the documentation of this file.
1
14
#include "
DataRepException.h
"
15
16
namespace
hippodraw {
17
18
DataRepException::
19
DataRepException
(
const
std::string &
type
)
20
{
21
m_type
=
type
;
22
}
23
24
DataRepException::
25
DataRepException
(
const
DataRepException
& e )
26
: exception ( )
27
{
28
m_type
= e.
m_type
;
29
}
30
31
DataRepException::
32
~DataRepException
() throw ()
33
{
34
}
35
36
const
char
*
37
DataRepException::
38
what
()
const
throw ()
39
{
40
std::string retval (
"No such label: `"
);
41
retval +=
m_type
;
42
retval +=
"' for ntuple column"
;
43
44
return
retval.c_str();
45
}
46
47
}
// namespace hippodraw
48
Generated for HippoDraw Class Library by