summaryrefslogtreecommitdiff
path: root/odb/relational/source.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-09-19 16:52:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-09-19 16:52:01 +0200
commit1d98f0160da68be27dcb46ae653e6cc4692a5bbe (patch)
tree47d8506cc7621f65ee8019b6336d744b11773eaf /odb/relational/source.hxx
parentb7335b8c1425138601698f2deac8e471b371cbcc (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.hxx')
-rw-r--r--odb/relational/source.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx
index cd89081..c59af8f 100644
--- a/odb/relational/source.hxx
+++ b/odb/relational/source.hxx
@@ -207,7 +207,7 @@ namespace relational
<< ": error: column expression specified for a data member "
<< "of a composite value type" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
data_member_path const& mp (e.back ().member_path);
@@ -218,7 +218,7 @@ namespace relational
<< ": error: invalid data member in db pragma column"
<< endl;
- throw generation_failed ();
+ throw operation_failed ();
}
table_prefix_ = e.back ().table;
@@ -234,7 +234,7 @@ namespace relational
<< ": info: use db pragma column to specify the column prefix"
<< endl;
- throw generation_failed ();
+ throw operation_failed ();
}
in_composite_ = true;
@@ -324,7 +324,7 @@ namespace relational
<< ": info: use db pragma column to specify the column name"
<< endl;
- throw generation_failed ();
+ throw operation_failed ();
}
column (m, col);
@@ -3289,7 +3289,7 @@ namespace relational
<< "use the full join condition clause in db pragma "
<< "object to resolve this ambiguity" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
if (vo == 0)
@@ -3299,7 +3299,7 @@ namespace relational
<< "specified in the join condition has not been "
<< "previously associated with this view" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}