blob: 7735b2c31c23ade8481d13c3aaa3705b962b4906 [file] [log] [blame]
// Copyright (c) 2006- Facebook
// Distributed under the Thrift Software License
//
// See accompanying file LICENSE or visit the Thrift site at:
// http://developers.facebook.com/thrift/
#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_