blob: 67eb1530fb59900dadb75faea4ae459c070372b4 [file] [log] [blame]
Mark Sleef5f2be42006-09-05 21:05:31 +00001#ifndef _THRIFT_CONCURRENCY_EXCEPTION_H_
2#define _THRIFT_CONCURRENCY_EXCEPTION_H_ 1
Marc Slemko525c2022006-07-20 00:29:35 +00003
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
Mark Sleef5f2be42006-09-05 21:05:31 +000020#endif // #ifndef _THRIFT_CONCURRENCY_EXCEPTION_H_