aboutsummaryrefslogtreecommitdiff
path: root/odb/details/posix/exceptions.cxx
blob: 211aa34451f2d4c7f6f7254a46be3ccb6975c16f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// file      : odb/details/posix/exceptions.cxx
// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

#include <odb/details/posix/exceptions.hxx>

namespace odb
{
  namespace details
  {
    const char* posix_exception::
    what () const ODB_NOTHROW_NOEXCEPT
    {
      return "POSIX API error";
    }

    posix_exception* posix_exception::
    clone () const
    {
      return new posix_exception (*this);
    }
  }
}