// // Copyright (c) ZeroC, Inc. All rights reserved. // #ifndef ICE_UTIL_THREAD_EXCEPTION_H #define ICE_UTIL_THREAD_EXCEPTION_H #include #include namespace IceUtil { class ICE_API ThreadSyscallException : public SyscallExceptionHelper { public: ThreadSyscallException(const char*, int, int); virtual std::string ice_id() const; #ifndef ICE_CPP11_MAPPING virtual ThreadSyscallException* ice_clone() const; #endif }; class ICE_API ThreadLockedException : public ExceptionHelper { public: ThreadLockedException(const char*, int); virtual std::string ice_id() const; #ifndef ICE_CPP11_MAPPING virtual ThreadLockedException* ice_clone() const; #endif }; class ICE_API ThreadStartedException : public ExceptionHelper { public: ThreadStartedException(const char*, int); virtual std::string ice_id() const; #ifndef ICE_CPP11_MAPPING virtual ThreadStartedException* ice_clone() const; #endif }; class ICE_API ThreadNotStartedException : public ExceptionHelper { public: ThreadNotStartedException(const char*, int); virtual std::string ice_id() const; #ifndef ICE_CPP11_MAPPING virtual ThreadNotStartedException* ice_clone() const; #endif }; class ICE_API BadThreadControlException : public ExceptionHelper { public: BadThreadControlException(const char*, int); virtual std::string ice_id() const; #ifndef ICE_CPP11_MAPPING virtual BadThreadControlException* ice_clone() const; #endif }; class ICE_API InvalidTimeoutException : public ExceptionHelper { public: InvalidTimeoutException(const char*, int, const Time&); virtual std::string ice_id() const; virtual void ice_print(std::ostream&) const; #ifndef ICE_CPP11_MAPPING virtual InvalidTimeoutException* ice_clone() const; #endif private: Time _timeout; }; } #endif