17 #ifndef TRANSPORTEXCEPTION_HPP_
18 #define TRANSPORTEXCEPTION_HPP_
21 #include <boost/system/error_code.hpp>
31 KaaException(boost::format(
"Transport exception occurred: %1%") % errorCode.message())
32 , errorCode_(errorCode) {}
38 boost::system::error_code
getErrorCode()
const {
return errorCode_; }
41 boost::system::error_code errorCode_;
TransportException(boost::format f)
TransportException(const boost::system::error_code &errorCode)
TransportException(const std::string &message)
boost::system::error_code getErrorCode() const