Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
ThreadException.h
Go to the documentation of this file.
1//
2// Copyright (c) ZeroC, Inc. All rights reserved.
3//
4
5#ifndef ICE_UTIL_THREAD_EXCEPTION_H
6#define ICE_UTIL_THREAD_EXCEPTION_H
7
8#include <IceUtil/Exception.h>
9#include <IceUtil/Time.h>
10
11namespace IceUtil
12{
13
14class ICE_API ThreadSyscallException : public SyscallExceptionHelper<ThreadSyscallException>
15{
16public:
17
18 ThreadSyscallException(const char*, int, int);
19 virtual std::string ice_id() const;
20
21#ifndef ICE_CPP11_MAPPING
23#endif
24};
25
26class ICE_API ThreadLockedException : public ExceptionHelper<ThreadLockedException>
27{
28public:
29
30 ThreadLockedException(const char*, int);
31 virtual std::string ice_id() const;
32
33#ifndef ICE_CPP11_MAPPING
35#endif
36};
37
38class ICE_API ThreadStartedException : public ExceptionHelper<ThreadStartedException>
39{
40public:
41
42 ThreadStartedException(const char*, int);
43 virtual std::string ice_id() const;
44
45#ifndef ICE_CPP11_MAPPING
47#endif
48
49};
50
51class ICE_API ThreadNotStartedException : public ExceptionHelper<ThreadNotStartedException>
52{
53public:
54
55 ThreadNotStartedException(const char*, int);
56 virtual std::string ice_id() const;
57
58#ifndef ICE_CPP11_MAPPING
60#endif
61};
62
63class ICE_API BadThreadControlException : public ExceptionHelper<BadThreadControlException>
64{
65public:
66
67 BadThreadControlException(const char*, int);
68 virtual std::string ice_id() const;
69
70#ifndef ICE_CPP11_MAPPING
72#endif
73};
74
75class ICE_API InvalidTimeoutException : public ExceptionHelper<InvalidTimeoutException>
76{
77public:
78
79 InvalidTimeoutException(const char*, int, const Time&);
80 virtual std::string ice_id() const;
81 virtual void ice_print(std::ostream&) const;
82
83#ifndef ICE_CPP11_MAPPING
85#endif
86
87private:
88
89 Time _timeout;
90};
91
92}
93
94#endif
#define ICE_API
Definition Config.h:197
virtual std::string ice_id() const
Returns the type ID of this exception.
BadThreadControlException(const char *, int)
virtual BadThreadControlException * ice_clone() const
Returns a shallow polymorphic copy of this exception.
virtual InvalidTimeoutException * ice_clone() const
Returns a shallow polymorphic copy of this exception.
InvalidTimeoutException(const char *, int, const Time &)
virtual void ice_print(std::ostream &) const
Outputs a description of this exception to a stream.
virtual std::string ice_id() const
Returns the type ID of this exception.
SyscallExceptionHelper(const char *file, int line, int errorCode)
Definition Exception.h:314
virtual ThreadLockedException * ice_clone() const
Returns a shallow polymorphic copy of this exception.
ThreadLockedException(const char *, int)
virtual std::string ice_id() const
Returns the type ID of this exception.
ThreadNotStartedException(const char *, int)
virtual ThreadNotStartedException * ice_clone() const
Returns a shallow polymorphic copy of this exception.
virtual std::string ice_id() const
Returns the type ID of this exception.
virtual std::string ice_id() const
Returns the type ID of this exception.
virtual ThreadStartedException * ice_clone() const
Returns a shallow polymorphic copy of this exception.
ThreadStartedException(const char *, int)
ThreadSyscallException(const char *, int, int)
virtual ThreadSyscallException * ice_clone() const
Returns a shallow polymorphic copy of this exception.
virtual std::string ice_id() const
Returns the type ID of this exception.
Definition Time.h:18
Definition Cond.h:39