From 41d33af55b9fbf4c664ccb56accb1a37bd1ef006 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 7 Oct 2008 17:27:06 +0000 Subject: broker: Fixed incorrect pass-by-reference of Queue::shared_ptr in several files. cluster: added FailoverExchange - send cluster membership to clients. client: added FailoverListener - receive cluster updates from failover exchange. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702552 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/Array.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/framing/Array.cpp') diff --git a/cpp/src/qpid/framing/Array.cpp b/cpp/src/qpid/framing/Array.cpp index bcee85f472..42d05f71c9 100644 --- a/cpp/src/qpid/framing/Array.cpp +++ b/cpp/src/qpid/framing/Array.cpp @@ -117,7 +117,7 @@ bool Array::operator==(const Array& x) const { void Array::add(ValuePtr value) { if (typeOctet != value->getType()) { - throw IllegalArgumentException(QPID_MSG("Wrong type of value, expected " << typeOctet)); + throw IllegalArgumentException(QPID_MSG("Wrong type of value in Array, expected " << typeOctet << " but found " << value->getType())); } values.push_back(value); } -- cgit v1.2.1