Commit 59ca6232 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2205] tried to improve what() message of some test exceptions

parent f34ff8e2
...@@ -172,9 +172,11 @@ public: ...@@ -172,9 +172,11 @@ public:
case FakeDataSrcClientsBuilder::NOTHROW: case FakeDataSrcClientsBuilder::NOTHROW:
break; break;
case FakeDataSrcClientsBuilder::THROW_UNCAUGHT_EX: case FakeDataSrcClientsBuilder::THROW_UNCAUGHT_EX:
isc_throw(util::thread::Thread::UncaughtException, "for test"); isc_throw(util::thread::Thread::UncaughtException,
"TestThread wait() saw an exception");
case FakeDataSrcClientsBuilder::THROW_OTHER: case FakeDataSrcClientsBuilder::THROW_OTHER:
isc_throw(Unexpected, "for test"); isc_throw(Unexpected,
"General emulated failure in TestThread wait()");
} }
} }
}; };
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment