comparison OrthancCppClient/HttpException.h @ 474:a9693dc7089c

move tostring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Jul 2013 17:25:53 +0200
parents c9a5d72f8481
children
comparison
equal deleted inserted replaced
473:c9a5d72f8481 474:a9693dc7089c
38 private: 38 private:
39 HttpStatus status_; 39 HttpStatus status_;
40 std::string custom_; 40 std::string custom_;
41 41
42 public: 42 public:
43 static const char* GetDescription(HttpStatus status);
44
45 HttpException(const std::string& custom) 43 HttpException(const std::string& custom)
46 { 44 {
47 status_ = HttpStatus_None; 45 status_ = HttpStatus_None;
48 custom_ = custom; 46 custom_ = custom;
49 } 47 }