blob: 9254b5622428909c42ee97c7020697a7bb5aba72 [file] [log] [blame]
#ifndef THRIFT_H
#define THRIFT_H
#include <netinet/in.h>
#include <inttypes.h>
#include <string>
#include <map>
#include <list>
#include <set>
#include <exception>
namespace facebook { namespace thrift {
class Exception : public std::exception {
private:
const std::string _message;
public:
Exception(const std::string message) : _message(message) {}
~Exception() throw () {}
const char* what() {return _message.c_str();}
};
}} // facebook::thrift
#endif