View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

exception.h
Go to the documentation of this file.
1#ifndef EXCEPTION_H
2#define EXCEPTION_H
3
4#include <exception>
5#include <string>
6
7#include "export.h"
8
9namespace vistle {
10
11namespace except {
12
13class V_UTILEXPORT exception: public std::exception {
14public:
15 exception(const std::string &what = "vistle error");
16 virtual ~exception() throw();
17
18 virtual const char *what() const throw();
19 virtual const char *info() const throw();
20 virtual const char *where() const throw();
21
22protected:
23 std::string m_info;
24
25private:
26 std::string m_what;
27 std::string m_where;
28};
29
31public:
32 not_implemented(const std::string &what = "not implemented");
33};
34
36public:
37 assertion_failure(const std::string &what = "assertion failure");
38};
39
41public:
42 consistency_error(const std::string &what = "consistency check failure");
43};
44
46public:
47 parent_died(const std::string &what = "parent process died");
48};
49
50} // namespace except
51
53
54} // namespace vistle
55#endif
Definition: exception.h:35
Definition: exception.h:40
Definition: exception.h:13
std::string m_info
Definition: exception.h:23
Definition: exception.h:30
Definition: exception.h:45
Definition: allobjects.cpp:30
#define V_UTILEXPORT
Definition: export.h:19