aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time/exceptions.cxx
blob: 48f05407cb5bf7250eeea455410cda929194ef39 (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
// file      : odb/qt/date-time/exceptions.cxx
// license   : GNU GPL v2; see accompanying LICENSE file

#include <odb/qt/date-time/exceptions.hxx>

namespace odb
{
  namespace qt
  {
    namespace date_time
    {
      const char* value_out_of_range::
      what () const ODB_NOTHROW_NOEXCEPT
      {
        return "date/time value out of range";
      }

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