Main Page | Class Hierarchy | Class List | File List | Class Members

HttpException.hpp

00001 #ifndef XCT_HTTPEXCEPTION_EXCEPTION_H 00002 #define XCT_HTTPEXCEPTION_EXCEPTION_H 00003 00004 #include <stdexcept> 00005 #include <string> 00006 00007 namespace xsoap { 00008 class HttpException : public std::exception 00009 { 00010 public: 00011 HttpException(std::string _code, 00012 std::string _detail = "") 00013 : code(_code), detail(_detail) {} 00014 00015 ~HttpException(void) throw () {} 00016 00017 virtual const char *what() const throw() { 00018 return std::string("HttpException>>>(code=" + code + ")" + detail).c_str(); 00019 } 00020 00021 std::string code; 00022 std::string detail; 00023 00024 // std::string m_message; 00025 }; 00026 } 00027 00028 00029 00030 #endif

Generated on Sat Jun 5 00:52:17 2004 for XSoap-C++ by doxygen 1.3.7