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/mysql/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/mysql/schema.cxx')
-rw-r--r-- | odb/relational/mysql/schema.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/mysql/schema.cxx b/odb/relational/mysql/schema.cxx index 4a7171f..8b31563 100644 --- a/odb/relational/mysql/schema.cxx +++ b/odb/relational/mysql/schema.cxx @@ -89,7 +89,7 @@ namespace relational << "enumerator must map to MySQL ENUM or integer type" << endl; - throw generation_failed (); + throw operation_failed (); } } @@ -124,7 +124,7 @@ namespace relational << ": error: unable to map C++ enumerator '" << name << "' to MySQL ENUM value" << endl; - throw generation_failed (); + throw operation_failed (); } } else |