diff options
Diffstat (limited to 'cpp/src/IceUtil/ThreadException.cpp')
-rw-r--r-- | cpp/src/IceUtil/ThreadException.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/ThreadException.cpp b/cpp/src/IceUtil/ThreadException.cpp index 1139764a8ce..86fd1e20852 100644 --- a/cpp/src/IceUtil/ThreadException.cpp +++ b/cpp/src/IceUtil/ThreadException.cpp @@ -125,3 +125,26 @@ IceUtil::ThreadStartedException::ice_throw() const { throw *this; } + +IceUtil::ThreadNotStartedException::ThreadNotStartedException(const char* file, int line) : + Exception(file, line) +{ +} + +string +IceUtil::ThreadNotStartedException::ice_name() const +{ + return "IceUtil::ThreadNotStartedException"; +} + +IceUtil::Exception* +IceUtil::ThreadNotStartedException::ice_clone() const +{ + return new ThreadNotStartedException(*this); +} + +void +IceUtil::ThreadNotStartedException::ice_throw() const +{ + throw *this; +} |