Marc Slemko | 525c202 | 2006-07-20 00:29:35 +0000 | [diff] [blame] | 1 | #if !defined(_concurrency_Exception_h_) |
| 2 | #define _concurrency_Exception_h_ 1 |
| 3 | |
| 4 | #include <exception> |
| 5 | |
| 6 | namespace facebook { namespace thrift { namespace concurrency { |
| 7 | |
| 8 | class NoSuchTaskException : public std::exception {}; |
| 9 | |
| 10 | class UncancellableTaskException : public std::exception {}; |
| 11 | |
| 12 | class InvalidArgumentException : public std::exception {}; |
| 13 | |
| 14 | class IllegalStateException : public std::exception {}; |
| 15 | |
| 16 | class TimedOutException : public std::exception {}; |
| 17 | |
| 18 | }}} // facebook::thrift::concurrency |
| 19 | |
| 20 | #endif // !defined(_concurrency_Exception_h_) |