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.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
Generated by
1.8.1.1