From: JINMEI Tatuya Date: Wed, 17 Oct 2012 23:17:39 +0000 (-0700) Subject: [2205] tried to improve what() message of some test exceptions X-Git-Tag: trac2402_base~15^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59ca62327546854c22cf8caae902f023a79f3272;p=thirdparty%2Fkea.git [2205] tried to improve what() message of some test exceptions --- diff --git a/src/bin/auth/tests/test_datasrc_clients_mgr.h b/src/bin/auth/tests/test_datasrc_clients_mgr.h index 0519425859..99dc53efb5 100644 --- a/src/bin/auth/tests/test_datasrc_clients_mgr.h +++ b/src/bin/auth/tests/test_datasrc_clients_mgr.h @@ -172,9 +172,11 @@ public: case FakeDataSrcClientsBuilder::NOTHROW: break; 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: - isc_throw(Unexpected, "for test"); + isc_throw(Unexpected, + "General emulated failure in TestThread wait()"); } } };