client-cpp  0.8.1
TransportRedirectException.hpp
Go to the documentation of this file.
1 
17 #ifndef TRANSPORTREDIRECTEXCEPTION_HPP_
18 #define TRANSPORTREDIRECTEXCEPTION_HPP_
19 
20 #include "KaaException.hpp"
21 
22 namespace kaa {
23 
28 public:
29  TransportRedirectException(boost::format f)
30  : KaaException(f) {}
31 
32  TransportRedirectException(const std::string& message)
33  : KaaException(message) {}
34 };
35 
36 } /* namespace kaa */
37 
38 #endif /* TRANSPORTREDIRECTEXCEPTION_HPP_ */
TransportRedirectException(const std::string &message)
The exception is thrown to indicate that transport redirect response will be processed.