From d177e80729ded6ca60fdcc5cd91810fcc17c05dc Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Fri, 3 Mar 2006 16:46:52 +0000 Subject: Better fix for bug #824 --- cpp/src/IceUtil/ThreadException.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'cpp/src') diff --git a/cpp/src/IceUtil/ThreadException.cpp b/cpp/src/IceUtil/ThreadException.cpp index abaa79f26a6..97ba03c47cd 100644 --- a/cpp/src/IceUtil/ThreadException.cpp +++ b/cpp/src/IceUtil/ThreadException.cpp @@ -154,3 +154,29 @@ IceUtil::ThreadNotStartedException::ice_throw() const { throw *this; } + + +IceUtil::BadThreadControlException::BadThreadControlException(const char* file, int line) : + Exception(file, line) +{ +} + +const char* IceUtil::BadThreadControlException::_name = "IceUtil::BadThreadControlException"; + +const string +IceUtil::BadThreadControlException::ice_name() const +{ + return _name; +} + +IceUtil::Exception* +IceUtil::BadThreadControlException::ice_clone() const +{ + return new BadThreadControlException(*this); +} + +void +IceUtil::BadThreadControlException::ice_throw() const +{ + throw *this; +} -- cgit v1.2.3