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