Nevermind, needed to actually throw an exception object.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace jtest {
|
||||
|
||||
bool check(bool condition) {
|
||||
if (!condition)
|
||||
throw;
|
||||
throw std::runtime_error("Test check failed!!");
|
||||
return condition;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user