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/source.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/source.cxx')
-rw-r--r-- | odb/relational/source.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/odb/relational/source.cxx b/odb/relational/source.cxx index 4f8ecfc..ac29e6d 100644 --- a/odb/relational/source.cxx +++ b/odb/relational/source.cxx @@ -131,7 +131,7 @@ namespace relational error (loc) << "member name expected after an alias in db pragma " << prag << endl; - throw generation_failed (); + throw operation_failed (); } ptt = tt; @@ -185,7 +185,7 @@ namespace relational error (loc) << "name '" << name << "' in db pragma " << prag << " " << "does not refer to a data member" << endl; - throw generation_failed (); + throw operation_failed (); } else return expression ( @@ -227,7 +227,7 @@ namespace relational { error (loc) << "name expected after '.' in db pragma " << prag << endl; - throw generation_failed (); + throw operation_failed (); } tree type (TYPE_MAIN_VARIANT (TREE_TYPE (decl))); @@ -240,7 +240,7 @@ namespace relational error (loc) << "name '" << t << "' in db pragma " << prag << " does not " << "refer to a data member" << endl; - throw generation_failed (); + throw operation_failed (); } m = dynamic_cast<data_member*> (ctx.unit.find (decl)); @@ -285,7 +285,7 @@ namespace relational if (fail) { error (loc) << "invalid name in db pragma " << prag << endl; - throw generation_failed (); + throw operation_failed (); } else return expression ( @@ -297,7 +297,7 @@ namespace relational { error (loc) << "unable to resolve name '" << e.name () << "' in db pragma " << prag << endl; - throw generation_failed (); + throw operation_failed (); } else return expression ( |