NeXus
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
bindings
cpp
NeXusException.cpp
Go to the documentation of this file.
1
#include "
NeXusFile.hpp
"
2
#include "
NeXusException.hpp
"
3
9
namespace
NeXus
10
{
11
12
Exception::Exception
(
const
std::string& msg,
const
int
status) :
13
std::runtime_error(msg) {
14
this->m_what = msg;
15
this->m_status =
status
;
16
}
17
18
const
char
*
Exception::what
()
const
throw() {
19
return
this->m_what.c_str();
20
}
21
22
int
Exception::status
() throw() {
23
return
this->m_status;
24
}
25
26
Exception::~Exception
() throw() {
27
}
28
29
}
Generated by
1.8.1.1