blob: 79a7a29bc62703f10b3493b66db1c278578e5f8a [file] [log] [blame]
#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_