| #ifndef _THRIFT_CONCURRENCY_EXCEPTION_H_ |
| #define _THRIFT_CONCURRENCY_EXCEPTION_H_ 1 |
| |
| #include <exception> |
| #include <Thrift.h> |
| |
| namespace facebook { namespace thrift { namespace concurrency { |
| |
| class NoSuchTaskException : public facebook::thrift::TException {}; |
| |
| class UncancellableTaskException : public facebook::thrift::TException {}; |
| |
| class InvalidArgumentException : public facebook::thrift::TException {}; |
| |
| class IllegalStateException : public facebook::thrift::TException {}; |
| |
| class TimedOutException : public facebook::thrift::TException {}; |
| |
| }}} // facebook::thrift::concurrency |
| |
| #endif // #ifndef _THRIFT_CONCURRENCY_EXCEPTION_H_ |