// file : odb/exception.hxx // author : Boris Kolpackov // copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_EXCEPTION_HXX #define ODB_EXCEPTION_HXX #include #include #include namespace odb { struct LIBODB_EXPORT exception: std::exception { virtual const char* what () const throw () = 0; }; namespace core { using odb::exception; } } #include #endif // ODB_EXCEPTION_HXX