From a2f8b4b0294c77adb0a63572c16218c1d98b0dac Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 9 Jan 2014 11:20:51 +0000 Subject: QPID-5457: support for messages composed of multiple transfers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556787 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/amqp/Decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/amqp/Decoder.cpp') diff --git a/cpp/src/qpid/amqp/Decoder.cpp b/cpp/src/qpid/amqp/Decoder.cpp index 1058f83e38..de2c5ce64d 100644 --- a/cpp/src/qpid/amqp/Decoder.cpp +++ b/cpp/src/qpid/amqp/Decoder.cpp @@ -301,7 +301,7 @@ Descriptor Decoder::readDescriptor() void Decoder::advance(size_t n) { - if (n > available()) throw qpid::Exception(QPID_MSG("Out of Bounds")); + if (n > available()) throw qpid::Exception(QPID_MSG("Out of Bounds: requested advance of " << n << " at " << position << " but only " << available() << " available")); position += n; } -- cgit v1.2.1