Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Exception.h
Go to the documentation of this file.
1#ifndef joedb_Exception_declared
2#define joedb_Exception_declared
3
4#include <stdexcept>
5
6namespace joedb
7{
8 /// @ingroup error
9 class Exception: public std::runtime_error
10 {
11 public:
12 explicit Exception(const char *what_arg):
13 std::runtime_error(what_arg)
14 {
15 }
16
17 explicit Exception(const std::string &what_arg):
18 std::runtime_error(what_arg)
19 {
20 }
21 };
22}
23
24#endif
Exception(const std::string &what_arg)
Definition Exception.h:17
Exception(const char *what_arg)
Definition Exception.h:12
Definition Blob.h:7