NeXus
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
bindings
cpp
NeXusException.hpp
Go to the documentation of this file.
1
#ifndef NEXUSEXCEPTION_HPP
2
#define NEXUSEXCEPTION_HPP 1
3
4
#include <string>
5
#include <stdexcept>
6
13
namespace
NeXus
{
14
20
class
NXDLL_EXPORT
Exception
:
public
std::runtime_error
21
{
22
public
:
29
Exception
(
const
std::string& msg =
"GENERIC ERROR"
,
const
int
status = 0);
35
virtual
const
char
* what()
const
throw
();
41
int
status()
throw
();
43
virtual
~
Exception
()
throw
();
44
private
:
45
std::string m_what;
46
int
m_status;
47
};
48
};
49
50
#endif
NXDLL_EXPORT
#define NXDLL_EXPORT
Definition:
NeXusFile.hpp:23
NeXus::Exception
Class that provides for a standard NeXus exception.
Definition:
NeXusException.hpp:20
NeXus
Definition:
NeXusException.cpp:9
Generated by
1.8.11