blob: ff3fc63dba8b2341106944f613a884fac9d9ba6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// file : odb/exception.hxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_EXCEPTION_HXX
#define ODB_EXCEPTION_HXX
#include <exception>
namespace odb
{
struct exception: std::exception
{
// By default return the exception type name ( typeid (*this).name () ).
//
virtual char const*
what () const throw ();
};
}
#endif // ODB_EXCEPTION_HXX
|