summaryrefslogtreecommitdiff
path: root/odb/relational/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/sqlite')
-rw-r--r--odb/relational/sqlite/context.cxx12
-rw-r--r--odb/relational/sqlite/schema.cxx2
2 files changed, 7 insertions, 7 deletions
diff --git a/odb/relational/sqlite/context.cxx b/odb/relational/sqlite/context.cxx
index f10e904..a135947 100644
--- a/odb/relational/sqlite/context.cxx
+++ b/odb/relational/sqlite/context.cxx
@@ -225,7 +225,7 @@ namespace relational
{
}
- // Issues diagnostics and throws generation_failed in case of
+ // Issues diagnostics and throws operation_failed in case of
// an error.
//
sql_type
@@ -270,7 +270,7 @@ namespace relational
cerr << m_.file () << ":" << m_.line () << ":" << m_.column ()
<< ": error: expected SQLite type name instead of '"
<< t << "'" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}
}
@@ -279,14 +279,14 @@ namespace relational
cerr << m_.file () << ":" << m_.line () << ":" << m_.column ()
<< ": error: invalid SQLite type declaration: " << e.message
<< endl;
- throw generation_failed ();
+ throw operation_failed ();
}
if (ids_.empty ())
{
cerr << m_.file () << ":" << m_.line () << ":" << m_.column ()
<< ": error: expected SQLite type name" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
sql_type r;
@@ -322,7 +322,7 @@ namespace relational
{
cerr << m_.file () << ":" << m_.line () << ":" << m_.column ()
<< " error: unknown SQLite type '" << id << "'" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}
@@ -344,7 +344,7 @@ namespace relational
cerr << m_.file () << ":" << m_.line () << ":" << m_.column ()
<< ": error: missing ')' in SQLite type declaration"
<< endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}
}
diff --git a/odb/relational/sqlite/schema.cxx b/odb/relational/sqlite/schema.cxx
index 77a9590..1ed835e 100644
--- a/odb/relational/sqlite/schema.cxx
+++ b/odb/relational/sqlite/schema.cxx
@@ -35,7 +35,7 @@ namespace relational
<< ": error: column with default value specified as C++ "
<< "enumerator must map to SQLite INTEGER" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
using semantics::enumerator;