summaryrefslogtreecommitdiff
path: root/odb/include.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/include.cxx')
-rw-r--r--odb/include.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/include.cxx b/odb/include.cxx
index 16842c8..1c143f4 100644
--- a/odb/include.cxx
+++ b/odb/include.cxx
@@ -188,7 +188,7 @@ namespace
if (!is.is_open ())
{
cerr << "error: unable to open '" << f << "' in read mode" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
parse_stream (is, f, lines);
@@ -244,7 +244,7 @@ namespace
{
cerr << name << ":" << lb << ":1: error: "
<< "unable to parse #include directive" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}
}
@@ -277,7 +277,7 @@ namespace
if (is.bad () || (is.fail () && !is.eof ()))
{
cerr << "error: input error while reading '" << name << "'" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}