Common ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
exception.hxx
Go to the documentation of this file.
1 // file : odb/exception.hxx
2 // copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
3 // license : GNU GPL v2; see accompanying LICENSE file
4 
5 #ifndef ODB_EXCEPTION_HXX
6 #define ODB_EXCEPTION_HXX
7 
8 #include <odb/pre.hxx>
9 
10 #include <exception>
11 
12 #include <odb/forward.hxx> // odb::core
13 #include <odb/details/export.hxx>
14 
15 namespace odb
16 {
17  struct LIBODB_EXPORT exception: std::exception
18  {
19  virtual const char*
20  what () const throw () = 0;
21  };
22 
23  namespace common
24  {
25  using odb::exception;
26  }
27 }
28 
29 #include <odb/post.hxx>
30 
31 #endif // ODB_EXCEPTION_HXX
Definition: exception.hxx:17