aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/exceptions.cxx')
-rw-r--r--odb/sqlite/exceptions.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/sqlite/exceptions.cxx b/odb/sqlite/exceptions.cxx
index 77436ae..ab54340 100644
--- a/odb/sqlite/exceptions.cxx
+++ b/odb/sqlite/exceptions.cxx
@@ -17,7 +17,7 @@ namespace odb
//
const char* forced_rollback::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return "transaction is forced to rollback";
}
@@ -33,7 +33,7 @@ namespace odb
//
database_exception::
- ~database_exception () throw ()
+ ~database_exception () ODB_NOTHROW_NOEXCEPT
{
}
@@ -52,7 +52,7 @@ namespace odb
}
const char* database_exception::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return what_.c_str ();
}
@@ -74,12 +74,12 @@ namespace odb
}
cli_exception::
- ~cli_exception () throw ()
+ ~cli_exception () ODB_NOTHROW_NOEXCEPT
{
}
const char* cli_exception::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return what_.c_str ();
}