diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-05 11:09:55 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-05 11:09:55 +0000 |
commit | 9b8cc712d4a41d71840416776bc94ee8485bb9b3 (patch) | |
tree | 7d467fdd6a66bc2b5878d82070d45adbd5c20414 /cppe/include/IceE/ThreadException.h | |
parent | cleaning the cache method out of ReferenceFactory (diff) | |
download | ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.tar.bz2 ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.tar.xz ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.zip |
Changed Ice to IceE EVERYWHERE!!!
Diffstat (limited to 'cppe/include/IceE/ThreadException.h')
-rw-r--r-- | cppe/include/IceE/ThreadException.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/cppe/include/IceE/ThreadException.h b/cppe/include/IceE/ThreadException.h new file mode 100644 index 00000000000..266610c702c --- /dev/null +++ b/cppe/include/IceE/ThreadException.h @@ -0,0 +1,80 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICEE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICEE_THREAD_EXCEPTION_H +#define ICEE_THREAD_EXCEPTION_H + +#include <IceE/Exception.h> + +namespace IceE +{ + +class ICEE_API ThreadSyscallException : public Exception +{ +public: + + ThreadSyscallException(const char*, int, int); + virtual const std::string ice_name() const; + virtual std::string toString() const; + virtual Exception* ice_clone() const; + virtual void ice_throw() const; + + int error() const; +private: + + const int _error; + static const char* _name; +}; + +class ICEE_API ThreadLockedException : public Exception +{ +public: + + ThreadLockedException(const char*, int); + virtual const std::string ice_name() const; + virtual Exception* ice_clone() const; + virtual void ice_throw() const; + +private: + + static const char* _name; +}; + +class ICEE_API ThreadStartedException : public Exception +{ +public: + + ThreadStartedException(const char*, int); + virtual const std::string ice_name() const; + virtual Exception* ice_clone() const; + virtual void ice_throw() const; + +private: + + static const char* _name; +}; + +class ICEE_API ThreadNotStartedException : public Exception +{ +public: + + ThreadNotStartedException(const char*, int); + virtual const std::string ice_name() const; + virtual Exception* ice_clone() const; + virtual void ice_throw() const; + +private: + + static const char* _name; +}; + +} + +#endif + |