| 32 | |
| 33 | namespace AmqpClient { |
| 34 | MessageReturnedException::MessageReturnedException( |
| 35 | BasicMessage::ptr_t message, boost::uint32_t reply_code, |
| 36 | const std::string &reply_text, const std::string &exchange, |
| 37 | const std::string &routing_key) throw() |
| 38 | : std::runtime_error( |
| 39 | std::string("Message returned. Reply code: ") |
| 40 | .append(boost::lexical_cast<std::string>(reply_code)) |
| 41 | .append(" ") |
| 42 | .append(reply_text)), |
| 43 | m_message(message), |
| 44 | m_reply_code(reply_code), |
| 45 | m_reply_text(reply_text), |
| 46 | m_exchange(exchange), |
| 47 | m_routing_key(routing_key) {} |
| 48 | |
| 49 | } // namespace AmqpClient |
nothing calls this directly
no outgoing calls
no test coverage detected