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/pgsql/schema.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/relational/pgsql/schema.cxx') diff --git a/odb/relational/pgsql/schema.cxx b/odb/relational/pgsql/schema.cxx index 098d6e9..70d4979 100644 --- a/odb/relational/pgsql/schema.cxx +++ b/odb/relational/pgsql/schema.cxx @@ -67,7 +67,7 @@ namespace relational << ": error: automatically assigned object id must map " << "to PostgreSQL INTEGER or BIGINT" << endl; - throw generation_failed (); + throw operation_failed (); } } else @@ -99,7 +99,7 @@ namespace relational << ": error: column with default value specified as C++ " << "enumerator must map to PostgreSQL integer type" << endl; - throw generation_failed (); + throw operation_failed (); } } -- cgit v1.1