diff options
Diffstat (limited to 'libdbpp/mockDatabase.cpp')
-rw-r--r-- | libdbpp/mockDatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/mockDatabase.cpp b/libdbpp/mockDatabase.cpp index a0ae7e5..9cb916f 100644 --- a/libdbpp/mockDatabase.cpp +++ b/libdbpp/mockDatabase.cpp @@ -67,7 +67,7 @@ MockDatabase::PlaySchemaScript(DB::Connection * conn, const boost::filesystem::p std::ifstream f; f.open(s.string()); if (!f.good()) { - throw std::runtime_error("Failed to open mock script: " + s.string()); + throw std::fstream::failure("Failed to open mock script: " + s.string()); } conn->executeScript(f, s.parent_path()); f.close(); |