blob: 67eb1530fb59900dadb75faea4ae459c070372b4 [file] [log] [blame]
#ifndef _THRIFT_CONCURRENCY_EXCEPTION_H_
#define _THRIFT_CONCURRENCY_EXCEPTION_H_ 1
#include <exception>
namespace facebook { namespace thrift { namespace concurrency {
class NoSuchTaskException : public std::exception {};
class UncancellableTaskException : public std::exception {};
class InvalidArgumentException : public std::exception {};
class IllegalStateException : public std::exception {};
class TimedOutException : public std::exception {};
}}} // facebook::thrift::concurrency
#endif // #ifndef _THRIFT_CONCURRENCY_EXCEPTION_H_