aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/exceptions.cxx
blob: 9a8ef3d2badeefa7a60367243825be312d039684 (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
// file      : odb/boost/date-time/exceptions.cxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

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

namespace odb
{
  namespace boost
  {
    namespace date_time
    {
      const char* special_value::
      what () const throw ()
      {
        return "unrepresentable date/time special value";
      }

      const char* value_out_of_range::
      what () const throw ()
      {
        return "date/time value out of range";
      }
    }
  }
}