From 1d98f0160da68be27dcb46ae653e6cc4692a5bbe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 19 Sep 2011 16:52:01 +0200 Subject: Rename generation_failed exception to operation_failed A more generic name is required since it is now used in both generator and processor (and in the future may be used validator). --- odb/relational/sqlite/context.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'odb/relational/sqlite/context.cxx') 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 (); } } } -- cgit v1.1