diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 16:52:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 16:52:01 +0200 |
commit | 1d98f0160da68be27dcb46ae653e6cc4692a5bbe (patch) | |
tree | 47d8506cc7621f65ee8019b6336d744b11773eaf /odb/relational/pgsql/schema.cxx | |
parent | b7335b8c1425138601698f2deac8e471b371cbcc (diff) |
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).
Diffstat (limited to 'odb/relational/pgsql/schema.cxx')
-rw-r--r-- | odb/relational/pgsql/schema.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 (); } } |