aboutsummaryrefslogtreecommitdiff
path: root/odb/tracer/exceptions.cxx
blob: 2d964208a414e72d996b400bba940ddce71efd44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// file      : odb/tracer/exceptions.cxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// license   : GNU GPL v2; see accompanying LICENSE file

#include <odb/tracer/exceptions.hxx>

using namespace std;

namespace odb
{
  namespace tracer
  {
    database_exception::
    ~database_exception () throw ()
    {
    }

    database_exception::
    database_exception (const string& what)
        : what_ (what)
    {
    }

    const char* database_exception::
    what () const throw ()
    {
      return what_.c_str ();
    }
  }
}