Browse Source

Use runtime error.

Malcolm Tyrrell 5 năm trước cách đây
mục cha
commit
a4110a59c5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/unit/utImporter.cpp

+ 1 - 1
test/unit/utImporter.cpp

@@ -317,7 +317,7 @@ namespace
             }
             else if (pFile == "stdException.fail")
             {
-                throw std::exception("std::exception test");
+                throw std::runtime_error("std::exception test");
             }
             else if (pFile == "unexpectedException.fail")
             {