diff options
Diffstat (limited to 'odb/exceptions.cxx')
-rw-r--r-- | odb/exceptions.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/exceptions.cxx b/odb/exceptions.cxx index 27a0e8b..1d4be70 100644 --- a/odb/exceptions.cxx +++ b/odb/exceptions.cxx @@ -55,6 +55,18 @@ namespace odb return "transaction aborted due to deadlock"; } + const char* connection_lost:: + what () const throw () + { + return "connection to database lost"; + } + + const char* timeout:: + what () const throw () + { + return "database operation timeout"; + } + const char* object_not_persistent:: what () const throw () { |