diff options
Diffstat (limited to 'cppe/src/IceE/ThreadException.cpp')
-rw-r--r-- | cppe/src/IceE/ThreadException.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cppe/src/IceE/ThreadException.cpp b/cppe/src/IceE/ThreadException.cpp index fb096379644..26f9ef6c1d8 100644 --- a/cppe/src/IceE/ThreadException.cpp +++ b/cppe/src/IceE/ThreadException.cpp @@ -159,3 +159,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; +} + |