// file : odb/exception.hxx // copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_EXCEPTION_HXX #define ODB_EXCEPTION_HXX #include #include #include // odb::core #include // ODB_NOTHROW_NOEXCEPT #include #include namespace odb { struct LIBODB_EXPORT exception: std::exception, details::shared_base { virtual const char* what () const ODB_NOTHROW_NOEXCEPT = 0; virtual exception* clone () const = 0; }; namespace common { using odb::exception; } } #include #endif // ODB_EXCEPTION_HXX