aboutsummaryrefslogtreecommitdiff
path: root/odb/exception.cxx
blob: 52d8370e121fa34c74c26aaf2c7d3eb878d35ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// file      : odb/exception.cxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

#include <typeinfo>

#include <odb/exception.hxx>

namespace odb
{
  char const* exception::
  what () const throw ()
  {
    return typeid (*this).name ();
  }
}