MCPcopy Create free account
hub / github.com/alanxz/SimpleAmqpClient / MessageReturnedException

Method MessageReturnedException

src/MessageReturnedException.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33namespace AmqpClient {
34MessageReturnedException::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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected