JXXON object mapper library
Error.h
1 //
2 // Copyright (C) 2018 Dr. Michael Steffens
3 //
4 // SPDX-License-Identifier: BSL-1.0
5 //
6 
7 
8 #ifndef JXXON_Error_INCLUDED
9 #define JXXON_Error_INCLUDED
10 
11 #include <stdexcept>
12 
13 namespace JXXON {
14 
16 class Error : public std::runtime_error
17 {
18 public:
20  Error(const std::string& what);
21 
22  virtual ~Error();
23 };
24 
25 } // namespace JXXON
26 
27 #endif // JXXON_Error_INCLUDED
JXXON exception.
Definition: Error.h:16
JXXON root namespace.
Definition: Deque.h:14
Error(const std::string &what)
Construct exception for error described by what.